Package net.minecraft.sound
Class MusicSound
java.lang.Object
net.minecraft.sound.MusicSound
- Mappings:
 Namespace Name official ameintermediary net/minecraft/class_5195named net/minecraft/sound/MusicSound
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<MusicSound>private final intprivate final intprivate final booleanprivate final RegistryEntry<SoundEvent> - 
Constructor Summary
ConstructorsConstructorDescriptionMusicSound(RegistryEntry<SoundEvent> sound, int minDelay, int maxDelay, boolean replaceCurrentMusic)  - 
Method Summary
 
- 
Field Details
- 
CODEC
- Mappings:
 Namespace Name Mixin selector official aLame;a:Lcom/mojang/serialization/Codec;intermediary field_24627Lnet/minecraft/class_5195;field_24627:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/sound/MusicSound;CODEC:Lcom/mojang/serialization/Codec;
 - 
sound
- Mappings:
 Namespace Name Mixin selector official bLame;b:Lhe;intermediary field_24057Lnet/minecraft/class_5195;field_24057:Lnet/minecraft/class_6880;named soundLnet/minecraft/sound/MusicSound;sound:Lnet/minecraft/registry/entry/RegistryEntry;
 - 
minDelay
private final int minDelay- Mappings:
 Namespace Name Mixin selector official cLame;c:Iintermediary field_24058Lnet/minecraft/class_5195;field_24058:Inamed minDelayLnet/minecraft/sound/MusicSound;minDelay:I
 - 
maxDelay
private final int maxDelay- Mappings:
 Namespace Name Mixin selector official dLame;d:Iintermediary field_24059Lnet/minecraft/class_5195;field_24059:Inamed maxDelayLnet/minecraft/sound/MusicSound;maxDelay:I
 - 
replaceCurrentMusic
private final boolean replaceCurrentMusic- Mappings:
 Namespace Name Mixin selector official eLame;e:Zintermediary field_24060Lnet/minecraft/class_5195;field_24060:Znamed replaceCurrentMusicLnet/minecraft/sound/MusicSound;replaceCurrentMusic:Z
 
 - 
 - 
Constructor Details
- 
MusicSound
public MusicSound(RegistryEntry<SoundEvent> sound, int minDelay, int maxDelay, boolean replaceCurrentMusic) - Mappings:
 Namespace Name Mixin selector official <init>Lame;<init>(Lhe;IIZ)Vintermediary <init>Lnet/minecraft/class_5195;<init>(Lnet/minecraft/class_6880;IIZ)Vnamed <init>Lnet/minecraft/sound/MusicSound;<init>(Lnet/minecraft/registry/entry/RegistryEntry;IIZ)V
 
 - 
 - 
Method Details
- 
getSound
- Mappings:
 Namespace Name Mixin selector official aLame;a()Lhe;intermediary method_27279Lnet/minecraft/class_5195;method_27279()Lnet/minecraft/class_6880;named getSoundLnet/minecraft/sound/MusicSound;getSound()Lnet/minecraft/registry/entry/RegistryEntry;
 - 
getMinDelay
public int getMinDelay()- Mappings:
 Namespace Name Mixin selector official bLame;b()Iintermediary method_27280Lnet/minecraft/class_5195;method_27280()Inamed getMinDelayLnet/minecraft/sound/MusicSound;getMinDelay()I
 - 
getMaxDelay
public int getMaxDelay()- Mappings:
 Namespace Name Mixin selector official cLame;c()Iintermediary method_27281Lnet/minecraft/class_5195;method_27281()Inamed getMaxDelayLnet/minecraft/sound/MusicSound;getMaxDelay()I
 - 
shouldReplaceCurrentMusic
public boolean shouldReplaceCurrentMusic()- Mappings:
 Namespace Name Mixin selector official dLame;d()Zintermediary method_27282Lnet/minecraft/class_5195;method_27282()Znamed shouldReplaceCurrentMusicLnet/minecraft/sound/MusicSound;shouldReplaceCurrentMusic()Z
 
 -