类 BiomeAdditionsSound
- java.lang.Object
-
- net.minecraft.sound.BiomeAdditionsSound
-
public class BiomeAdditionsSound extends Object
Represents an "additions sound" for a biome.- Mappings:
Namespace Name official bwnintermediary net/minecraft/class_4967named net/minecraft/sound/BiomeAdditionsSound
-
-
字段概要
字段 修饰符和类型 字段 说明 private doublechancestatic com.mojang.serialization.Codec<BiomeAdditionsSound>CODECprivate SoundEventsound
-
构造器概要
构造器 构造器 说明 BiomeAdditionsSound(SoundEvent sound, double chance)
-
-
-
字段详细资料
-
CODEC
public static final com.mojang.serialization.Codec<BiomeAdditionsSound> CODEC
- Mappings:
Namespace Name Mixin selector official aLbwn;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
private final SoundEvent sound
- Mappings:
Namespace Name Mixin selector official bLbwn;b:Laev;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 cLbwn;c:Dintermediary field_23145Lnet/minecraft/class_4967;field_23145:Dnamed chanceLnet/minecraft/sound/BiomeAdditionsSound;chance:D
-
-
构造器详细资料
-
BiomeAdditionsSound
public BiomeAdditionsSound(SoundEvent sound, double chance)
- Mappings:
Namespace Name Mixin selector official <init>Lbwn;<init>(Laev;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
-
-
方法详细资料
-
getSound
public SoundEvent getSound()
- Mappings:
Namespace Name Mixin selector official aLbwn;a()Laev;intermediary method_26098Lnet/minecraft/class_4967;method_26098()Lnet/minecraft/class_3414;named getSoundLnet/minecraft/sound/BiomeAdditionsSound;getSound()Lnet/minecraft/sound/SoundEvent;
-
getChance
public double getChance()
Returns the chance of this addition sound to play at any tick.- Mappings:
Namespace Name Mixin selector official bLbwn;b()Dintermediary method_26099Lnet/minecraft/class_4967;method_26099()Dnamed getChanceLnet/minecraft/sound/BiomeAdditionsSound;getChance()D
-
-