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 bur
intermediary net/minecraft/class_4967
named net/minecraft/sound/BiomeAdditionsSound
-
Field Summary
Fields Modifier and Type Field Description private double
chance
static com.mojang.serialization.Codec<BiomeAdditionsSound>
CODEC
private SoundEvent
sound
-
Constructor Summary
Constructors Constructor Description BiomeAdditionsSound(SoundEvent sound, double chance)
-
Method Summary
Modifier and Type Method Description double
getChance()
Returns the chance of this addition sound to play at any tick.SoundEvent
getSound()
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lbur;a:Lcom/mojang/serialization/Codec;
intermediary field_24673
Lnet/minecraft/class_4967;field_24673:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/sound/BiomeAdditionsSound;CODEC:Lcom/mojang/serialization/Codec;
-
sound
- Mappings:
Namespace Name Mixin selector official b
Lbur;b:Laef;
intermediary field_23144
Lnet/minecraft/class_4967;field_23144:Lnet/minecraft/class_3414;
named sound
Lnet/minecraft/sound/BiomeAdditionsSound;sound:Lnet/minecraft/sound/SoundEvent;
-
chance
private final double chance- Mappings:
Namespace Name Mixin selector official c
Lbur;c:D
intermediary field_23145
Lnet/minecraft/class_4967;field_23145:D
named chance
Lnet/minecraft/sound/BiomeAdditionsSound;chance:D
-
-
Constructor Details
-
BiomeAdditionsSound
- Mappings:
Namespace Name Mixin selector official <init>
Lbur;<init>(Laef;D)V
intermediary <init>
Lnet/minecraft/class_4967;<init>(Lnet/minecraft/class_3414;D)V
named <init>
Lnet/minecraft/sound/BiomeAdditionsSound;<init>(Lnet/minecraft/sound/SoundEvent;D)V
-
-
Method Details
-
getSound
- Mappings:
Namespace Name Mixin selector official a
Lbur;a()Laef;
intermediary method_26098
Lnet/minecraft/class_4967;method_26098()Lnet/minecraft/class_3414;
named getSound
Lnet/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 b
Lbur;b()D
intermediary method_26099
Lnet/minecraft/class_4967;method_26099()D
named getChance
Lnet/minecraft/sound/BiomeAdditionsSound;getChance()D
-