Package net.minecraft.sound
Class BiomeAdditionsSound
java.lang.Object
net.minecraft.sound.BiomeAdditionsSound
Represents an "additions sound" for a biome.
- Mappings:
Namespace Name named net/minecraft/sound/BiomeAdditionsSoundintermediary net/minecraft/class_4967official ddt
-
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 named CODECLnet/minecraft/sound/BiomeAdditionsSound;CODEC:Lcom/mojang/serialization/Codec;intermediary field_24673Lnet/minecraft/class_4967;field_24673:Lcom/mojang/serialization/Codec;official aLddt;a:Lcom/mojang/serialization/Codec;
-
sound
- Mappings:
Namespace Name Mixin selector named soundLnet/minecraft/sound/BiomeAdditionsSound;sound:Lnet/minecraft/registry/entry/RegistryEntry;intermediary field_23144Lnet/minecraft/class_4967;field_23144:Lnet/minecraft/class_6880;official bLddt;b:Ljm;
-
chance
private final double chance- Mappings:
Namespace Name Mixin selector named chanceLnet/minecraft/sound/BiomeAdditionsSound;chance:Dintermediary field_23145Lnet/minecraft/class_4967;field_23145:Dofficial cLddt;c:D
-
-
Constructor Details
-
BiomeAdditionsSound
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/sound/BiomeAdditionsSound;<init>(Lnet/minecraft/registry/entry/RegistryEntry;D)Vintermediary <init>Lnet/minecraft/class_4967;<init>(Lnet/minecraft/class_6880;D)Vofficial <init>Lddt;<init>(Ljm;D)V
-
-
Method Details
-
getSound
- Mappings:
Namespace Name Mixin selector named getSoundLnet/minecraft/sound/BiomeAdditionsSound;getSound()Lnet/minecraft/registry/entry/RegistryEntry;intermediary method_26098Lnet/minecraft/class_4967;method_26098()Lnet/minecraft/class_6880;official aLddt;a()Ljm;
-
getChance
public double getChance()Returns the chance of this addition sound to play at any tick.- Mappings:
Namespace Name Mixin selector named getChanceLnet/minecraft/sound/BiomeAdditionsSound;getChance()Dintermediary method_26099Lnet/minecraft/class_4967;method_26099()Dofficial bLddt;b()D
-