History - net.minecraft.block.AmbientLeavesBlockSoundPlayer

26.3

Names

net.minecraft.world.level.block.sounds.AmbientLeavesBlockSoundPlayer

net.minecraft.world.level.block.sounds.AmbientLeavesBlockSoundPlayer

net.minecraft.class_1_1136

net.minecraft.block.AmbientLeavesBlockSoundPlayer

Fields

Optional<RegistryEntry<SoundEvent>>: ambientSound, ambientSound, comp_1_1139, ambientSound

int: chance, chance, comp_1_1140, chance

Optional<TagKey<Block>>: satisfyingBlocks, satisfyingBlocks, comp_1_1143, satisfyingBlocks

int: nearbySatisfyingBlocksRequired, nearbySatisfyingBlocksRequired, comp_1_1142, nearbySatisfyingBlocksRequired

int: nearbySameLeavesRequired, nearbySameLeavesRequired, comp_1_1141, nearbySameLeavesRequired

int: AMBIENT_SOUND_CHANCE, AMBIENT_SOUND_CHANCE, field_1_7893, DEFAULT_CHANCE

int: NEARBY_SATISFYING_BLOCKS_REQUIRED, NEARBY_SATISFYING_BLOCKS_REQUIRED, field_1_7896, DEFAULT_NEARBY_SATISFYING_BLOCKS_REQUIRED

int: NEARBY_SAME_LEAVES_REQUIRED, NEARBY_SAME_LEAVES_REQUIRED, field_1_7895, DEFAULT_NEARBY_SAME_LEAVES_REQUIRED

com.mojang.serialization.Codec<AmbientLeavesBlockSoundPlayer>: CODEC, CODEC, field_1_7894, CODEC

AmbientLeavesBlockSoundPlayer: NO_SOUND, NO_SOUND, field_1_7897, EMPTY

Constructors

(Optional<RegistryEntry<SoundEvent>>, int, Optional<TagKey<Block>>, int, int)

Methods

AmbientLeavesBlockSoundPlayer (RegistryEntry<SoundEvent>, TagKey<Block>): of, of, method_1_7198, of

AmbientLeavesBlockSoundPlayer (): noAmbientSound, noAmbientSound, method_1_7197, empty

void (World, BlockPos, Block, Random): playAmbientLeavesSounds, playAmbientLeavesSounds, method_1_7199, tickSounds

Optional<RegistryEntry<SoundEvent>> (): ambientSound, ambientSound, comp_1_1139, ambientSound

int (): chance, chance, comp_1_1140, chance

Optional<TagKey<Block>> (): satisfyingBlocks, satisfyingBlocks, comp_1_1143, satisfyingBlocks

int (): nearbySatisfyingBlocksRequired, nearbySatisfyingBlocksRequired, comp_1_1142, nearbySatisfyingBlocksRequired

int (): nearbySameLeavesRequired, nearbySameLeavesRequired, comp_1_1141, nearbySameLeavesRequired