public class BiomeAdditionsSound extends Object
| Modifier and Type | Field and Description |
|---|---|
private double |
chance |
private SoundEvent |
event |
static com.mojang.serialization.Codec<BiomeAdditionsSound> |
field_24673 |
| Constructor and Description |
|---|
BiomeAdditionsSound(SoundEvent event,
double chance) |
| Modifier and Type | Method and Description |
|---|---|
double |
getChance()
Returns the chance of this addition sound to play at any tick.
|
SoundEvent |
getEvent() |
public static final com.mojang.serialization.Codec<BiomeAdditionsSound> field_24673
private SoundEvent event
private double chance
public BiomeAdditionsSound(SoundEvent event, double chance)
@Environment(value=CLIENT) public SoundEvent getEvent()
@Environment(value=CLIENT) public double getChance()