Package net.minecraft.sound
Class BiomeAdditionsSound
java.lang.Object
net.minecraft.sound.BiomeAdditionsSound
public class BiomeAdditionsSound extends Object
Represents an "additions sound" for a biome.
-
Field Summary
Fields Modifier and Type Field Description private doublechanceprivate SoundEventeventstatic com.mojang.serialization.Codec<BiomeAdditionsSound>field_24673 -
Constructor Summary
Constructors Constructor Description BiomeAdditionsSound(SoundEvent event, double chance) -
Method Summary
Modifier and Type Method Description doublegetChance()Returns the chance of this addition sound to play at any tick.SoundEventgetEvent()
-
Field Details
-
field_24673
-
event
-
chance
private double chance
-
-
Constructor Details
-
Method Details