Package net.minecraft.client.sound
Class Sound
java.lang.Object
net.minecraft.client.sound.Sound
- All Implemented Interfaces:
SoundContainer<Sound>
- Mappings:
Namespace Name official ezzintermediary net/minecraft/class_1111named net/minecraft/client/sound/Sound
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate Identifierprivate floatprivate booleanprivate Sound.RegistrationTypeprivate booleanprivate floatprivate int -
Constructor Summary
ConstructorsConstructorDescriptionSound(String id, float volume, float pitch, int weight, Sound.RegistrationType registrationType, boolean stream, boolean preload, int attenuation) -
Method Summary
Modifier and TypeMethodDescriptionintfloatgetPitch()getSound()floatintbooleanbooleanvoidpreload(SoundSystem soundSystem)toString()
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official aLezz;a:Lww;intermediary field_5469Lnet/minecraft/class_1111;field_5469:Lnet/minecraft/class_2960;named idLnet/minecraft/client/sound/Sound;id:Lnet/minecraft/util/Identifier;
-
volume
private final float volume- Mappings:
Namespace Name Mixin selector official bLezz;b:Fintermediary field_5466Lnet/minecraft/class_1111;field_5466:Fnamed volumeLnet/minecraft/client/sound/Sound;volume:F
-
pitch
private final float pitch- Mappings:
Namespace Name Mixin selector official cLezz;c:Fintermediary field_5464Lnet/minecraft/class_1111;field_5464:Fnamed pitchLnet/minecraft/client/sound/Sound;pitch:F
-
weight
private final int weight- Mappings:
Namespace Name Mixin selector official dLezz;d:Iintermediary field_5468Lnet/minecraft/class_1111;field_5468:Inamed weightLnet/minecraft/client/sound/Sound;weight:I
-
registrationType
- Mappings:
Namespace Name Mixin selector official eLezz;e:Lezz$a;intermediary field_5470Lnet/minecraft/class_1111;field_5470:Lnet/minecraft/class_1111$class_1112;named registrationTypeLnet/minecraft/client/sound/Sound;registrationType:Lnet/minecraft/client/sound/Sound$RegistrationType;
-
stream
private final boolean stream- Mappings:
Namespace Name Mixin selector official fLezz;f:Zintermediary field_5467Lnet/minecraft/class_1111;field_5467:Znamed streamLnet/minecraft/client/sound/Sound;stream:Z
-
preload
private final boolean preload- Mappings:
Namespace Name Mixin selector official gLezz;g:Zintermediary field_5465Lnet/minecraft/class_1111;field_5465:Znamed preloadLnet/minecraft/client/sound/Sound;preload:Z
-
attenuation
private final int attenuation- Mappings:
Namespace Name Mixin selector official hLezz;h:Iintermediary field_5463Lnet/minecraft/class_1111;field_5463:Inamed attenuationLnet/minecraft/client/sound/Sound;attenuation:I
-
-
Constructor Details
-
Sound
public Sound(String id, float volume, float pitch, int weight, Sound.RegistrationType registrationType, boolean stream, boolean preload, int attenuation)- Mappings:
Namespace Name Mixin selector official <init>Lezz;<init>(Ljava/lang/String;FFILezz$a;ZZI)Vintermediary <init>Lnet/minecraft/class_1111;<init>(Ljava/lang/String;FFILnet/minecraft/class_1111$class_1112;ZZI)Vnamed <init>Lnet/minecraft/client/sound/Sound;<init>(Ljava/lang/String;FFILnet/minecraft/client/sound/Sound$RegistrationType;ZZI)V
-
-
Method Details
-
getIdentifier
- Mappings:
Namespace Name Mixin selector official aLezz;a()Lww;intermediary method_4767Lnet/minecraft/class_1111;method_4767()Lnet/minecraft/class_2960;named getIdentifierLnet/minecraft/client/sound/Sound;getIdentifier()Lnet/minecraft/util/Identifier;
-
getLocation
- Mappings:
Namespace Name Mixin selector official bLezz;b()Lww;intermediary method_4766Lnet/minecraft/class_1111;method_4766()Lnet/minecraft/class_2960;named getLocationLnet/minecraft/client/sound/Sound;getLocation()Lnet/minecraft/util/Identifier;
-
getVolume
public float getVolume()- Mappings:
Namespace Name Mixin selector official cLezz;c()Fintermediary method_4771Lnet/minecraft/class_1111;method_4771()Fnamed getVolumeLnet/minecraft/client/sound/Sound;getVolume()F
-
getPitch
public float getPitch()- Mappings:
Namespace Name Mixin selector official dLezz;d()Fintermediary method_4772Lnet/minecraft/class_1111;method_4772()Fnamed getPitchLnet/minecraft/client/sound/Sound;getPitch()F
-
getWeight
public int getWeight()- Specified by:
getWeightin interfaceSoundContainer<Sound>- Mappings:
Namespace Name Mixin selector official eLfbe;e()Iintermediary method_4894Lnet/minecraft/class_1148;method_4894()Inamed getWeightLnet/minecraft/client/sound/SoundContainer;getWeight()I
-
getSound
- Specified by:
getSoundin interfaceSoundContainer<Sound>- Mappings:
Namespace Name Mixin selector official fLezz;f()Lezz;intermediary method_4765Lnet/minecraft/class_1111;method_4765()Lnet/minecraft/class_1111;named getSoundLnet/minecraft/client/sound/Sound;getSound()Lnet/minecraft/client/sound/Sound;
-
preload
- Specified by:
preloadin interfaceSoundContainer<Sound>- Mappings:
Namespace Name Mixin selector official aLfbe;a(Lfaz;)Vintermediary method_18188Lnet/minecraft/class_1148;method_18188(Lnet/minecraft/class_1140;)Vnamed preloadLnet/minecraft/client/sound/SoundContainer;preload(Lnet/minecraft/client/sound/SoundSystem;)V
-
getRegistrationType
- Mappings:
Namespace Name Mixin selector official gLezz;g()Lezz$a;intermediary method_4768Lnet/minecraft/class_1111;method_4768()Lnet/minecraft/class_1111$class_1112;named getRegistrationTypeLnet/minecraft/client/sound/Sound;getRegistrationType()Lnet/minecraft/client/sound/Sound$RegistrationType;
-
isStreamed
public boolean isStreamed()- Mappings:
Namespace Name Mixin selector official hLezz;h()Zintermediary method_4769Lnet/minecraft/class_1111;method_4769()Znamed isStreamedLnet/minecraft/client/sound/Sound;isStreamed()Z
-
isPreloaded
public boolean isPreloaded()- Mappings:
Namespace Name Mixin selector official iLezz;i()Zintermediary method_4764Lnet/minecraft/class_1111;method_4764()Znamed isPreloadedLnet/minecraft/client/sound/Sound;isPreloaded()Z
-
getAttenuation
public int getAttenuation()- Mappings:
Namespace Name Mixin selector official jLezz;j()Iintermediary method_4770Lnet/minecraft/class_1111;method_4770()Inamed getAttenuationLnet/minecraft/client/sound/Sound;getAttenuation()I
-
toString
-