Package net.minecraft.sound
Class BiomeAdditionsSound
java.lang.Object
net.minecraft.sound.BiomeAdditionsSound
Represents an "additions sound" for a biome.
- Mappings:
 Namespace Name official cnhintermediary net/minecraft/class_4967named net/minecraft/sound/BiomeAdditionsSound
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doublestatic final com.mojang.serialization.Codec<BiomeAdditionsSound>private final RegistryEntry<SoundEvent> - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the chance of this addition sound to play at any tick.getSound() 
- 
Field Details
- 
CODEC
- Mappings:
 Namespace Name Mixin selector official aLcnh;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 bLcnh;b:Lhe;intermediary field_23144Lnet/minecraft/class_4967;field_23144:Lnet/minecraft/class_6880;named soundLnet/minecraft/sound/BiomeAdditionsSound;sound:Lnet/minecraft/registry/entry/RegistryEntry;
 - 
chance
private final double chance- Mappings:
 Namespace Name Mixin selector official cLcnh;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>Lcnh;<init>(Lhe;D)Vintermediary <init>Lnet/minecraft/class_4967;<init>(Lnet/minecraft/class_6880;D)Vnamed <init>Lnet/minecraft/sound/BiomeAdditionsSound;<init>(Lnet/minecraft/registry/entry/RegistryEntry;D)V
 
 - 
 - 
Method Details
- 
getSound
- Mappings:
 Namespace Name Mixin selector official aLcnh;a()Lhe;intermediary method_26098Lnet/minecraft/class_4967;method_26098()Lnet/minecraft/class_6880;named getSoundLnet/minecraft/sound/BiomeAdditionsSound;getSound()Lnet/minecraft/registry/entry/RegistryEntry;
 - 
getChance
public double getChance()Returns the chance of this addition sound to play at any tick.- Mappings:
 Namespace Name Mixin selector official bLcnh;b()Dintermediary method_26099Lnet/minecraft/class_4967;method_26099()Dnamed getChanceLnet/minecraft/sound/BiomeAdditionsSound;getChance()D
 
 -