Package net.minecraft.client.sound
Class PositionedSoundInstance
java.lang.Object
net.minecraft.client.sound.AbstractSoundInstance
net.minecraft.client.sound.PositionedSoundInstance
- All Implemented Interfaces:
SoundInstance
- Mappings:
Namespace Name official fhyintermediary net/minecraft/class_1109named net/minecraft/client/sound/PositionedSoundInstance
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType -
Field Summary
Fields inherited from class net.minecraft.client.sound.AbstractSoundInstance
attenuationType, category, field_38800, id, pitch, relative, repeat, repeatDelay, sound, volume, x, y, z -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, AbstractRandom abstractRandom, boolean bool, int int2, SoundInstance.AttenuationType attenuationType, double double2, double double3, double double4) PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, AbstractRandom abstractRandom, double double2, double double3, double double4) PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, AbstractRandom abstractRandom, BlockPos blockPos) PositionedSoundInstance(Identifier id, SoundCategory category, float volume, float pitch, AbstractRandom abstractRandom, boolean bool, int int2, SoundInstance.AttenuationType attenuationType, double double2, double double3, double double4, boolean bool2) -
Method Summary
Modifier and TypeMethodDescriptionstatic PositionedSoundInstanceambient(SoundEvent sound) static PositionedSoundInstanceambient(SoundEvent sound, float pitch, float volume) static PositionedSoundInstanceambient(SoundEvent sound, AbstractRandom abstractRandom, double double2, double double3, double double4) static PositionedSoundInstancemaster(SoundEvent sound, float pitch) static PositionedSoundInstancemaster(SoundEvent sound, float pitch, float volume) static PositionedSoundInstancemusic(SoundEvent sound) static PositionedSoundInstancerecord(SoundEvent sound, double x, double y, double z) Methods inherited from class net.minecraft.client.sound.AbstractSoundInstance
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isRelative, isRepeatable, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.client.sound.SoundInstance
canPlay, shouldAlwaysPlay
-
Constructor Details
-
PositionedSoundInstance
public PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, AbstractRandom abstractRandom, BlockPos blockPos) - Mappings:
Namespace Name Mixin selector official <init>Lfhy;<init>(Lahx;Lahz;FFLaki;Lgm;)Vintermediary <init>Lnet/minecraft/class_1109;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFLnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Vnamed <init>Lnet/minecraft/client/sound/PositionedSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFLnet/minecraft/world/gen/random/AbstractRandom;Lnet/minecraft/util/math/BlockPos;)V
-
PositionedSoundInstance
public PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, AbstractRandom abstractRandom, double double2, double double3, double double4) - Mappings:
Namespace Name Mixin selector official <init>Lfhy;<init>(Lahx;Lahz;FFLaki;DDD)Vintermediary <init>Lnet/minecraft/class_1109;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFLnet/minecraft/class_5819;DDD)Vnamed <init>Lnet/minecraft/client/sound/PositionedSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFLnet/minecraft/world/gen/random/AbstractRandom;DDD)V
-
PositionedSoundInstance
private PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, AbstractRandom abstractRandom, boolean bool, int int2, SoundInstance.AttenuationType attenuationType, double double2, double double3, double double4) - Mappings:
Namespace Name Mixin selector official <init>Lfhy;<init>(Lahx;Lahz;FFLaki;ZILfic$a;DDD)Vintermediary <init>Lnet/minecraft/class_1109;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFLnet/minecraft/class_5819;ZILnet/minecraft/class_1113$class_1114;DDD)Vnamed <init>Lnet/minecraft/client/sound/PositionedSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFLnet/minecraft/world/gen/random/AbstractRandom;ZILnet/minecraft/client/sound/SoundInstance$AttenuationType;DDD)V
-
PositionedSoundInstance
public PositionedSoundInstance(Identifier id, SoundCategory category, float volume, float pitch, AbstractRandom abstractRandom, boolean bool, int int2, SoundInstance.AttenuationType attenuationType, double double2, double double3, double double4, boolean bool2) - Mappings:
Namespace Name Mixin selector official <init>Lfhy;<init>(Lze;Lahz;FFLaki;ZILfic$a;DDDZ)Vintermediary <init>Lnet/minecraft/class_1109;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_3419;FFLnet/minecraft/class_5819;ZILnet/minecraft/class_1113$class_1114;DDDZ)Vnamed <init>Lnet/minecraft/client/sound/PositionedSoundInstance;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/sound/SoundCategory;FFLnet/minecraft/world/gen/random/AbstractRandom;ZILnet/minecraft/client/sound/SoundInstance$AttenuationType;DDDZ)V
-
-
Method Details
-
master
- Mappings:
Namespace Name Mixin selector official aLfhy;a(Lahx;F)Lfhy;intermediary method_4758Lnet/minecraft/class_1109;method_4758(Lnet/minecraft/class_3414;F)Lnet/minecraft/class_1109;named masterLnet/minecraft/client/sound/PositionedSoundInstance;master(Lnet/minecraft/sound/SoundEvent;F)Lnet/minecraft/client/sound/PositionedSoundInstance;
-
master
- Mappings:
Namespace Name Mixin selector official aLfhy;a(Lahx;FF)Lfhy;intermediary method_4757Lnet/minecraft/class_1109;method_4757(Lnet/minecraft/class_3414;FF)Lnet/minecraft/class_1109;named masterLnet/minecraft/client/sound/PositionedSoundInstance;master(Lnet/minecraft/sound/SoundEvent;FF)Lnet/minecraft/client/sound/PositionedSoundInstance;
-
music
- Mappings:
Namespace Name Mixin selector official aLfhy;a(Lahx;)Lfhy;intermediary method_4759Lnet/minecraft/class_1109;method_4759(Lnet/minecraft/class_3414;)Lnet/minecraft/class_1109;named musicLnet/minecraft/client/sound/PositionedSoundInstance;music(Lnet/minecraft/sound/SoundEvent;)Lnet/minecraft/client/sound/PositionedSoundInstance;
-
record
- Mappings:
Namespace Name Mixin selector official aLfhy;a(Lahx;DDD)Lfhy;intermediary method_4760Lnet/minecraft/class_1109;method_4760(Lnet/minecraft/class_3414;DDD)Lnet/minecraft/class_1109;named recordLnet/minecraft/client/sound/PositionedSoundInstance;record(Lnet/minecraft/sound/SoundEvent;DDD)Lnet/minecraft/client/sound/PositionedSoundInstance;
-
ambient
- Mappings:
Namespace Name Mixin selector official bLfhy;b(Lahx;FF)Lfhy;intermediary method_24877Lnet/minecraft/class_1109;method_24877(Lnet/minecraft/class_3414;FF)Lnet/minecraft/class_1109;named ambientLnet/minecraft/client/sound/PositionedSoundInstance;ambient(Lnet/minecraft/sound/SoundEvent;FF)Lnet/minecraft/client/sound/PositionedSoundInstance;
-
ambient
- Mappings:
Namespace Name Mixin selector official bLfhy;b(Lahx;)Lfhy;intermediary method_25466Lnet/minecraft/class_1109;method_25466(Lnet/minecraft/class_3414;)Lnet/minecraft/class_1109;named ambientLnet/minecraft/client/sound/PositionedSoundInstance;ambient(Lnet/minecraft/sound/SoundEvent;)Lnet/minecraft/client/sound/PositionedSoundInstance;
-
ambient
public static PositionedSoundInstance ambient(SoundEvent sound, AbstractRandom abstractRandom, double double2, double double3, double double4) - Mappings:
Namespace Name Mixin selector official aLfhy;a(Lahx;Laki;DDD)Lfhy;intermediary method_25467Lnet/minecraft/class_1109;method_25467(Lnet/minecraft/class_3414;Lnet/minecraft/class_5819;DDD)Lnet/minecraft/class_1109;named ambientLnet/minecraft/client/sound/PositionedSoundInstance;ambient(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/world/gen/random/AbstractRandom;DDD)Lnet/minecraft/client/sound/PositionedSoundInstance;
-