Package net.minecraft.sound
Class SoundEvent
java.lang.Object
net.minecraft.sound.SoundEvent
- Mappings:
Namespace Name official alo
intermediary net/minecraft/class_3414
named net/minecraft/sound/SoundEvent
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final float
private final float
private final Identifier
private final boolean
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
SoundEvent
(Identifier id, float distanceToTravel, boolean useStaticDistance) -
Method Summary
Modifier and TypeMethodDescriptionfloat
getDistanceToTravel
(float volume) static float
getDistanceToTravelForVolume
(float volume) getId()
(package private) static SoundEvent
of
(Identifier id) (package private) static SoundEvent
of
(Identifier id, float distanceToTravel)
-
Field Details
-
DEFAULT_DISTANCE_TO_TRAVEL
private static final float DEFAULT_DISTANCE_TO_TRAVEL- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lalo;a:F
intermediary field_41661
Lnet/minecraft/class_3414;field_41661:F
named DEFAULT_DISTANCE_TO_TRAVEL
Lnet/minecraft/sound/SoundEvent;DEFAULT_DISTANCE_TO_TRAVEL:F
-
id
- Mappings:
Namespace Name Mixin selector official b
Lalo;b:Lacg;
intermediary field_14533
Lnet/minecraft/class_3414;field_14533:Lnet/minecraft/class_2960;
named id
Lnet/minecraft/sound/SoundEvent;id:Lnet/minecraft/util/Identifier;
-
distanceToTravel
private final float distanceToTravel- Mappings:
Namespace Name Mixin selector official c
Lalo;c:F
intermediary field_38690
Lnet/minecraft/class_3414;field_38690:F
named distanceToTravel
Lnet/minecraft/sound/SoundEvent;distanceToTravel:F
-
staticDistance
private final boolean staticDistance- Mappings:
Namespace Name Mixin selector official d
Lalo;d:Z
intermediary field_38691
Lnet/minecraft/class_3414;field_38691:Z
named staticDistance
Lnet/minecraft/sound/SoundEvent;staticDistance:Z
-
-
Constructor Details
-
SoundEvent
- Mappings:
Namespace Name Mixin selector official <init>
Lalo;<init>(Lacg;FZ)V
intermediary <init>
Lnet/minecraft/class_3414;<init>(Lnet/minecraft/class_2960;FZ)V
named <init>
Lnet/minecraft/sound/SoundEvent;<init>(Lnet/minecraft/util/Identifier;FZ)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official a
Lalo;a(Lacg;)Lalo;
intermediary method_47908
Lnet/minecraft/class_3414;method_47908(Lnet/minecraft/class_2960;)Lnet/minecraft/class_3414;
named of
Lnet/minecraft/sound/SoundEvent;of(Lnet/minecraft/util/Identifier;)Lnet/minecraft/sound/SoundEvent;
-
of
- Mappings:
Namespace Name Mixin selector official a
Lalo;a(Lacg;F)Lalo;
intermediary method_47909
Lnet/minecraft/class_3414;method_47909(Lnet/minecraft/class_2960;F)Lnet/minecraft/class_3414;
named of
Lnet/minecraft/sound/SoundEvent;of(Lnet/minecraft/util/Identifier;F)Lnet/minecraft/sound/SoundEvent;
-
getId
- Mappings:
Namespace Name Mixin selector official a
Lalo;a()Lacg;
intermediary method_14833
Lnet/minecraft/class_3414;method_14833()Lnet/minecraft/class_2960;
named getId
Lnet/minecraft/sound/SoundEvent;getId()Lnet/minecraft/util/Identifier;
-
getDistanceToTravel
public float getDistanceToTravel(float volume) - Mappings:
Namespace Name Mixin selector official a
Lalo;a(F)F
intermediary method_43044
Lnet/minecraft/class_3414;method_43044(F)F
named getDistanceToTravel
Lnet/minecraft/sound/SoundEvent;getDistanceToTravel(F)F
-
getDistanceToTravelForVolume
public static float getDistanceToTravelForVolume(float volume) - Mappings:
Namespace Name Mixin selector official b
Lalo;b(F)F
intermediary method_47910
Lnet/minecraft/class_3414;method_47910(F)F
named getDistanceToTravelForVolume
Lnet/minecraft/sound/SoundEvent;getDistanceToTravelForVolume(F)F
-