net.minecraft.world.level.block

public abstract class LeavesBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dqi
net.minecraft.world.level.block.LeavesBlock
net.minecraft.class_2397
net.minecraft.block.LeavesBlock

Field summary

Modifier and TypeField
public static final int
a
DECAY_DISTANCE
field_31111
MAX_DISTANCE
public static final IntegerProperty
b
DISTANCE
field_11199
DISTANCE
public static final BooleanProperty
c
PERSISTENT
field_11200
PERSISTENT
public static final BooleanProperty
d
WATERLOGGED
field_38227
WATERLOGGED
protected final float
e
leafParticleChance
field_55773
leafParticleChance
private static final int
f
TICK_DELAY
field_31112
field_31112

Constructor summary

ModifierConstructor
public (float arg0, BlockBehaviour$Properties arg1)

Method summary

Modifier and TypeMethod
public abstract com.mojang.serialization.MapCodec<? extends LeavesBlock>
a()
codec()
method_53969()
getCodec()
protected VoxelShape
b_(dzo arg0, dhv arg1, iu 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)
protected boolean
f(dzo arg0)
isRandomlyTicking(BlockState arg0)
method_9542(class_2680 arg0)
hasRandomTicks(BlockState arg0)
protected void
b(dzo arg0, aro arg1, iu arg2, azt arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
protected boolean
o(dzo arg0)
decaying(BlockState arg0)
method_42311(class_2680 arg0)
shouldDecay(BlockState state)
protected void
a(dzo arg0, aro arg1, iu arg2, azt arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
protected int
i_(dzo arg0)
getLightBlock(BlockState arg0)
method_9505(class_2680 arg0)
getOpacity(BlockState arg0)
protected BlockState
a(dzo arg0, dis arg1, dje arg2, iu arg3, ja arg4, iu arg5, dzo arg6, azt 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)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
private static BlockState
a(dzo arg0, diq arg1, iu 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)
private static int
r(dzo arg0)
getDistanceAt(BlockState arg0)
method_10302(class_2680 arg0)
getDistanceFromLog(BlockState state)
public static OptionalInt
q(dzo arg0)
getOptionalDistanceAt(BlockState arg0)
method_49817(class_2680 arg0)
getOptionalDistanceFromLog(BlockState state)
protected FluidState
b_(dzo arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
public void
a(dzo arg0, dip arg1, iu arg2, azt arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, RandomSource arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
private static void
a(dip arg0, iu arg1, azt arg2, dzo arg3, iu arg4)
makeDrippingWaterParticles(Level arg0, BlockPos arg1, RandomSource arg2, BlockState arg3, BlockPos arg4)
method_66442(class_1937 arg0, class_2338 arg1, class_5819 arg2, class_2680 arg3, class_2338 arg4)
spawnWaterParticle(World world, BlockPos pos, Random random, BlockState state, BlockPos posBelow)
private void
b(dip arg0, iu arg1, azt arg2, dzo arg3, iu arg4)
makeFallingLeavesParticles(Level arg0, BlockPos arg1, RandomSource arg2, BlockState arg3, BlockPos arg4)
method_66444(class_1937 arg0, class_2338 arg1, class_5819 arg2, class_2680 arg3, class_2338 arg4)
spawnLeafParticle(World arg0, BlockPos arg1, Random arg2, BlockState state, BlockPos posBelow)
protected abstract void
a(dip arg0, iu arg1, azt arg2)
spawnFallingLeavesParticle(Level arg0, BlockPos arg1, RandomSource arg2)
method_67234(class_1937 arg0, class_2338 arg1, class_5819 arg2)
method_67234(World arg0, BlockPos arg1, Random arg2)
protected void
a(dzp$a<dlu, dzo> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
public BlockState
a(dcl arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)