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.
- Mappings:
Namespace Name official burintermediary net/minecraft/class_4967named net/minecraft/sound/BiomeAdditionsSound
-
Field Summary
Fields Modifier and Type Field Description private doublechancestatic com.mojang.serialization.Codec<BiomeAdditionsSound>CODECprivate SoundEventsound -
Constructor Summary
Constructors Constructor Description BiomeAdditionsSound(SoundEvent sound, double chance) -
Method Summary
Modifier and Type Method Description doublegetChance()Returns the chance of this addition sound to play at any tick.SoundEventgetSound()
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLbur;a:Lcom/mojang/serialization/Codec;intermediary field_24673Lnet/minecraft/class_4967;field_24673:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/sound/BiomeAdditionsSound;CODEC:Lcom/mojang/serialization/Codec;
-
sound
- Mappings:
Namespace Name Mixin selector official bLbur;b:Laef;intermediary field_23144Lnet/minecraft/class_4967;field_23144:Lnet/minecraft/class_3414;named soundLnet/minecraft/sound/BiomeAdditionsSound;sound:Lnet/minecraft/sound/SoundEvent;
-
chance
private final double chance- Mappings:
Namespace Name Mixin selector official cLbur;c:Dintermediary field_23145Lnet/minecraft/class_4967;field_23145:Dnamed chanceLnet/minecraft/sound/BiomeAdditionsSound;chance:D
-
-
Constructor Details
-
BiomeAdditionsSound
- Mappings:
Namespace Name Mixin selector official <init>Lbur;<init>(Laef;D)Vintermediary <init>Lnet/minecraft/class_4967;<init>(Lnet/minecraft/class_3414;D)Vnamed <init>Lnet/minecraft/sound/BiomeAdditionsSound;<init>(Lnet/minecraft/sound/SoundEvent;D)V
-
-
Method Details
-
getSound
- Mappings:
Namespace Name Mixin selector official aLbur;a()Laef;intermediary method_26098Lnet/minecraft/class_4967;method_26098()Lnet/minecraft/class_3414;named getSoundLnet/minecraft/sound/BiomeAdditionsSound;getSound()Lnet/minecraft/sound/SoundEvent;
-
getChance
Returns the chance of this addition sound to play at any tick.- Mappings:
Namespace Name Mixin selector official bLbur;b()Dintermediary method_26099Lnet/minecraft/class_4967;method_26099()Dnamed getChanceLnet/minecraft/sound/BiomeAdditionsSound;getChance()D
-