net.minecraft.block

public abstract class ParticleEmittingLeavesBlock

extends LeavesBlock

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, Waterloggable, FluidDrainable, FluidFillable

net.minecraft.world.level.block.FallingParticlesLeavesBlock
net.minecraft.class_1_1123
net.minecraft.block.ParticleEmittingLeavesBlock

Field summary

Modifier and TypeField
protected final float
leafParticleChance
field_1_7764
leafParticleChance

Constructor summary

ModifierConstructor
public (float leafParticleChance, AmbientLeavesBlockSoundPlayer soundPlayer, AbstractBlock$Settings settings)

Method summary

Modifier and TypeMethod
public void
animateTick(BlockState state, Level level, BlockPos pos, RandomSource random)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
private void
makeFallingLeavesParticles(Level level, BlockPos pos, RandomSource random)
method_1_7098(class_1937 arg0, class_2338 arg1, class_5819 arg2)
tickLeafParticles(World world, BlockPos pos, Random random)
protected abstract void
spawnFallingLeavesParticle(Level level, BlockPos pos, RandomSource random)
method_67234(class_1937 arg0, class_2338 arg1, class_5819 arg2)
spawnLeafParticle(World world, BlockPos pos, Random random)