net.minecraft.world.level.block

public class LeavesBlock

extends Block

All mapped superinterfaces:

ItemLike

cdn
net.minecraft.world.level.block.LeavesBlock
net.minecraft.class_2397
net.minecraft.block.LeavesBlock
net.minecraft.src.C_1826_
net.minecraft.world.level.block.BlockLeaves

Field summary

Modifier and TypeField
public static final int
a
DECAY_DISTANCE
field_31111
MAX_DISTANCE
f_153563_
public static final IntegerProperty
b
DISTANCE
field_11199
DISTANCE
f_54418_
public static final BooleanProperty
c
PERSISTENT
field_11200
PERSISTENT
f_54419_
private static final int
d
TICK_DELAY
field_31112
field_31112
f_153564_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public VoxelShape
f(ckt arg0, bvu arg1, gg arg2)
getBlockSupportShape(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_25959(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getSidesShape(BlockState arg0, BlockView arg1, BlockPos arg2)
m_7947_(C_2064_ p_54457_, C_1559_ p_54458_, C_4675_ arg2)
public boolean
e_(ckt arg0)
isRandomlyTicking(BlockState arg0)
method_9542(class_2680 arg0)
hasRandomTicks(BlockState arg0)
m_6724_(C_2064_ arg0)
isTicking(IBlockData arg0)
public void
b(ckt arg0, abr arg1, gg arg2, Random arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_7455_(C_2064_ p_54452_, C_12_ p_54453_, C_4675_ p_54454_, Random arg3)
tick(IBlockData arg0, WorldServer arg1, BlockPosition arg2, Random arg3)
public void
a(ckt arg0, abr arg1, gg arg2, Random arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_7458_(C_2064_ p_54427_, C_12_ p_54428_, C_4675_ p_54429_, Random arg3)
tickAlways(IBlockData arg0, WorldServer arg1, BlockPosition arg2, Random arg3)
public int
g(ckt arg0, bvu arg1, gg arg2)
getLightBlock(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9505(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getOpacity(BlockState arg0, BlockView arg1, BlockPos arg2)
m_7753_(C_2064_ p_54461_, C_1559_ p_54462_, C_4675_ arg2)
public BlockState
a(ckt arg0, gl arg1, ckt arg2, bwr arg3, gg arg4, gg arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_54441_, C_4687_ p_54442_, C_2064_ p_54443_, C_1598_ p_54444_, C_4675_ p_54445_, C_4675_ arg5)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
private static BlockState
a(ckt arg0, bwr arg1, gg arg2)
updateDistance(BlockState arg0, LevelAccessor arg1, BlockPos arg2)
method_10300(class_2680 arg0, class_1936 arg1, class_2338 arg2)
updateDistanceFromLogs(BlockState state, WorldAccess world, BlockPos pos)
m_54435_(C_2064_ p_54436_, C_1598_ p_54437_, C_4675_ p_54438_)
private static int
h(ckt arg0)
getDistanceAt(BlockState arg0)
method_10302(class_2680 arg0)
getDistanceFromLog(BlockState state)
m_54463_(C_2064_ p_54464_)
public void
a(ckt arg0, bwq arg1, gg arg2, Random arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, Random arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
m_7100_(C_2064_ p_54432_, C_1596_ p_54433_, C_4675_ p_54434_, Random arg3)
protected void
a(cku$a<bzp, ckt> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public BlockState
a(bsq arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
getPlacedState(BlockActionContext arg0)