Package net.minecraft.sound
Class MusicSound
java.lang.Object
net.minecraft.sound.MusicSound
- Mappings:
Namespace Name named net/minecraft/sound/MusicSound
intermediary net/minecraft/class_5195
official axc
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<MusicSound> private final int
private final int
private final boolean
private final RegistryEntry
<SoundEvent> -
Constructor Summary
ConstructorDescriptionMusicSound
(RegistryEntry<SoundEvent> sound, int minDelay, int maxDelay, boolean replaceCurrentMusic) -
Method Summary
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/sound/MusicSound;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_24627
Lnet/minecraft/class_5195;field_24627:Lcom/mojang/serialization/Codec;
official a
Laxc;a:Lcom/mojang/serialization/Codec;
-
sound
- Mappings:
Namespace Name Mixin selector named sound
Lnet/minecraft/sound/MusicSound;sound:Lnet/minecraft/registry/entry/RegistryEntry;
intermediary field_24057
Lnet/minecraft/class_5195;field_24057:Lnet/minecraft/class_6880;
official b
Laxc;b:Ljq;
-
minDelay
private final int minDelay- Mappings:
Namespace Name Mixin selector named minDelay
Lnet/minecraft/sound/MusicSound;minDelay:I
intermediary field_24058
Lnet/minecraft/class_5195;field_24058:I
official c
Laxc;c:I
-
maxDelay
private final int maxDelay- Mappings:
Namespace Name Mixin selector named maxDelay
Lnet/minecraft/sound/MusicSound;maxDelay:I
intermediary field_24059
Lnet/minecraft/class_5195;field_24059:I
official d
Laxc;d:I
-
replaceCurrentMusic
private final boolean replaceCurrentMusic- Mappings:
Namespace Name Mixin selector named replaceCurrentMusic
Lnet/minecraft/sound/MusicSound;replaceCurrentMusic:Z
intermediary field_24060
Lnet/minecraft/class_5195;field_24060:Z
official e
Laxc;e:Z
-
-
Constructor Details
-
MusicSound
public MusicSound(RegistryEntry<SoundEvent> sound, int minDelay, int maxDelay, boolean replaceCurrentMusic) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/sound/MusicSound;<init>(Lnet/minecraft/registry/entry/RegistryEntry;IIZ)V
intermediary <init>
Lnet/minecraft/class_5195;<init>(Lnet/minecraft/class_6880;IIZ)V
official <init>
Laxc;<init>(Ljq;IIZ)V
-
-
Method Details
-
getSound
- Mappings:
Namespace Name Mixin selector named getSound
Lnet/minecraft/sound/MusicSound;getSound()Lnet/minecraft/registry/entry/RegistryEntry;
intermediary method_27279
Lnet/minecraft/class_5195;method_27279()Lnet/minecraft/class_6880;
official a
Laxc;a()Ljq;
-
getMinDelay
public int getMinDelay()- Mappings:
Namespace Name Mixin selector named getMinDelay
Lnet/minecraft/sound/MusicSound;getMinDelay()I
intermediary method_27280
Lnet/minecraft/class_5195;method_27280()I
official b
Laxc;b()I
-
getMaxDelay
public int getMaxDelay()- Mappings:
Namespace Name Mixin selector named getMaxDelay
Lnet/minecraft/sound/MusicSound;getMaxDelay()I
intermediary method_27281
Lnet/minecraft/class_5195;method_27281()I
official c
Laxc;c()I
-
shouldReplaceCurrentMusic
public boolean shouldReplaceCurrentMusic()- Mappings:
Namespace Name Mixin selector named shouldReplaceCurrentMusic
Lnet/minecraft/sound/MusicSound;shouldReplaceCurrentMusic()Z
intermediary method_27282
Lnet/minecraft/class_5195;method_27282()Z
official d
Laxc;d()Z
-