public class BiomeAdditionsSound extends Object
| Modifier and Type | Field and Description |
|---|---|
private double |
chance |
private SoundEvent |
event |
| 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() |
private SoundEvent event
private double chance
public BiomeAdditionsSound(SoundEvent event, double chance)
@Environment(value=CLIENT) public SoundEvent getEvent()
@Environment(value=CLIENT) public double getChance()