net.minecraft.world.level.block

public class LeavesBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

doy
net.minecraft.world.level.block.LeavesBlock
net.minecraft.class_2397
net.minecraft.unmapped.C_vpbrfrld
net.minecraft.block.LeavesBlock
net.minecraft.block.LeavesBlock
net.minecraft.src.C_1826_
net.minecraft.world.level.block.BlockLeaves

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<LeavesBlock>
b
CODEC
field_46385
f_skqokyhb
CODEC
CODEC
f_303321_
public static final int
c
DECAY_DISTANCE
field_31111
f_wlukwelu
MAX_DISTANCE
MAX_DISTANCE
f_153563_
public static final IntegerProperty
d
DISTANCE
field_11199
f_idpcqsbq
DISTANCE
DISTANCE
f_54418_
public static final BooleanProperty
e
PERSISTENT
field_11200
f_kefxatay
PERSISTENT
PERSISTENT
f_54419_
public static final BooleanProperty
f
WATERLOGGED
field_38227
f_vpbxbcme
WATERLOGGED
WATERLOGGED
f_221367_
private static final int
a
TICK_DELAY
field_31112
f_rjjksefw
field_31112
TICK_DELAY
f_153564_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends LeavesBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
protected VoxelShape
b_(dxv arg0, dgn arg1, jh arg2)
getBlockSupportShape(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_25959(class_2680 arg0, class_1922 arg1, class_2338 arg2)
m_wnvttjnv(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2)
getSidesShape(BlockState arg0, BlockView arg1, BlockPos arg2)
getSidesShape(BlockState arg0, BlockView arg1, BlockPos arg2)
m_7947_(C_2064_ p_54457_, C_1559_ p_54458_, C_4675_ arg2)
protected boolean
f(dxv arg0)
isRandomlyTicking(BlockState arg0)
method_9542(class_2680 arg0)
m_rmjjhoiz(C_txtbiemp arg0)
hasRandomTicks(BlockState arg0)
getRandomTicks(BlockState arg0)
m_51695_(C_2064_ arg0)
protected void
b(dxv arg0, ash arg1, jh arg2, bam arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
m_sdymngiw(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_rlomrsco arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, RandomGenerator arg3)
m_213898_(C_2064_ p_221380_, C_12_ p_221381_, C_4675_ p_221382_, C_212974_ arg3)
protected boolean
o(dxv arg0)
decaying(BlockState arg0)
method_42311(class_2680 arg0)
m_hhmrqbor(C_txtbiemp arg0)
shouldDecay(BlockState state)
canDecay(BlockState state)
m_221385_(C_2064_ arg0)
protected void
a(dxv arg0, ash arg1, jh arg2, bam arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
m_bneobcwj(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_rlomrsco arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, RandomGenerator arg3)
m_213897_(C_2064_ p_221370_, C_12_ p_221371_, C_4675_ p_221372_, C_212974_ arg3)
protected int
i_(dxv arg0)
getLightBlock(BlockState arg0)
method_9505(class_2680 arg0)
m_kudnpwby(C_txtbiemp arg0)
getOpacity(BlockState arg0)
getOpacity(BlockState arg0)
m_7753_(C_2064_ arg0)
protected BlockState
a(dxv arg0, dhl arg1, dhx arg2, jh arg3, jm arg4, jh arg5, dxv arg6, bam arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
m_yvunqpeq(C_txtbiemp arg0, C_eemzphbi arg1, C_adoatlrf arg2, C_hynzadkk arg3, C_xpuuihxf arg4, C_hynzadkk arg5, C_txtbiemp arg6, C_rlomrsco arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, TickSchedulerAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomGenerator arg7)
m_7417_(C_2064_ p_369206_, C_1599_ p_362574_, C_346056_ p_54444_, C_4675_ p_54441_, C_4687_ p_54445_, C_4675_ p_54442_, C_2064_ p_363861_, C_212974_ arg7)
private static BlockState
a(dxv arg0, dhj arg1, jh arg2)
updateDistance(BlockState arg0, LevelAccessor arg1, BlockPos arg2)
method_10300(class_2680 arg0, class_1936 arg1, class_2338 arg2)
m_qbhqdinb(C_txtbiemp arg0, C_vdvbsyle arg1, C_hynzadkk arg2)
updateDistanceFromLogs(BlockState state, WorldAccess world, BlockPos pos)
updateDistanceFromLogs(BlockState state, WorldAccess world, BlockPos pos)
m_54435_(C_2064_ p_54436_, C_1598_ p_54437_, C_4675_ p_54438_)
private static int
r(dxv arg0)
getDistanceAt(BlockState arg0)
method_10302(class_2680 arg0)
m_gpxzhkzd(C_txtbiemp arg0)
getDistanceFromLog(BlockState state)
getDistanceFromLog(BlockState state)
m_54463_(C_2064_ p_54464_)
public static OptionalInt
q(dxv arg0)
getOptionalDistanceAt(BlockState arg0)
method_49817(class_2680 arg0)
m_huyvbgdx(C_txtbiemp arg0)
getOptionalDistanceFromLog(BlockState state)
getOptionalDistanceFromLog(BlockState state)
m_277200_(C_2064_ p_277868_)
protected FluidState
b_(dxv arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
m_nlstkjhl(C_txtbiemp arg0)
getFluidState(BlockState arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public void
a(dxv arg0, dhi arg1, jh arg2, bam arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, RandomSource arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
m_qdvbqnpt(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_rlomrsco arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, RandomGenerator arg3)
m_214162_(C_2064_ p_221375_, C_1596_ p_221376_, C_4675_ p_221377_, C_212974_ arg3)
protected void
a(dxw$a<dkm, dxv> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public BlockState
a(dbg arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)