net.minecraft.block

public class GrindstoneBlock

extends WallMountedBlock

All mapped superinterfaces:

ToggleableFeature, ItemConvertible

net.minecraft.world.level.block.GrindstoneBlock
net.minecraft.class_3713
net.minecraft.block.GrindstoneBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<GrindstoneBlock>
CODEC
field_46365
CODEC
private static final Text
CONTAINER_TITLE
field_17364
TITLE
private final Function<BlockState, VoxelShape>
shapes
field_55765
shapeFunction

Constructor summary

ModifierConstructor
protected (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<GrindstoneBlock>
codec()
method_53969()
getCodec()
private Function<BlockState, VoxelShape>
makeShapes()
method_66437()
createShapeFunction()
private VoxelShape
getVoxelShape(BlockState state)
method_16119(class_2680 arg0)
getShape(BlockState state)
protected VoxelShape
getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context)
method_9549(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getCollisionShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
protected VoxelShape
getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
protected boolean
canSurvive(BlockState state, LevelReader level, BlockPos pos)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
protected ActionResult
useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult)
method_55766(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_3965 arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
protected NamedScreenHandlerFactory
getMenuProvider(BlockState state, Level level, BlockPos pos)
method_17454(class_2680 arg0, class_1937 arg1, class_2338 arg2)
createScreenHandlerFactory(BlockState arg0, World arg1, BlockPos arg2)
protected BlockState
rotate(BlockState state, Rotation rotation)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
mirror(BlockState state, Mirror mirror)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
protected void
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected boolean
isPathfindable(BlockState state, PathComputationType type)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
private static ScreenHandler
lambda$getMenuProvider$1(Level arg0, BlockPos arg1, int arg2, Inventory arg3, Player arg4)
method_17469(class_1937 arg0, class_2338 arg1, int arg2, class_1661 arg3, class_1657 arg4)
method_17469(World arg0, BlockPos arg1, int syncId, PlayerInventory inventory, PlayerEntity player)
private static VoxelShape
lambda$makeShapes$0(Map arg0, BlockState arg1)
method_66436(Map arg0, class_2680 arg1)
method_66436(Map arg0, BlockState state)