net.minecraft.block

public class LeafLitterBlock

extends PlantBlock implements Segmented

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, Segmented

net.minecraft.world.level.block.LeafLitterBlock
net.minecraft.class_10595
net.minecraft.block.LeafLitterBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<LeafLitterBlock>
CODEC
field_55769
CODEC
public static final EnumProperty<Direction>
FACING
field_55770
HORIZONTAL_FACING
private final Function<BlockState, VoxelShape>
shapes
field_55771
shapeFunction

Constructor summary

ModifierConstructor
public (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
private Function<BlockState, VoxelShape>
makeShapes()
method_66440()
createShapeFunction()
protected com.mojang.serialization.MapCodec<LeafLitterBlock>
codec()
method_53969()
getCodec()
public BlockState
rotate(BlockState state, Rotation rotation)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
public BlockState
mirror(BlockState state, Mirror mirror)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
public boolean
canBeReplaced(BlockState state, BlockPlaceContext context)
method_9616(class_2680 arg0, class_1750 arg1)
canReplace(BlockState arg0, ItemPlacementContext arg1)
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)
public 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)
public BlockState
getStateForPlacement(BlockPlaceContext context)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
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)