Package net.minecraft.client.sound
Class PositionedSoundInstance
java.lang.Object
net.minecraft.client.sound.AbstractSoundInstance
net.minecraft.client.sound.PositionedSoundInstance
- All Implemented Interfaces:
SoundInstance
@Environment(CLIENT) public class PositionedSoundInstance extends AbstractSoundInstance
- Mappings:
Namespace Name official euh
intermediary net/minecraft/class_1109
named 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, id, looping, pitch, repeat, repeatDelay, sound, volume, x, y, z
-
Constructor Summary
Constructors Modifier Constructor Description private
PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z)
PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, double x, double y, double z)
PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, BlockPos pos)
PositionedSoundInstance(Identifier id, SoundCategory category, float volume, float pitch, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z, boolean looping)
-
Method Summary
Modifier and Type Method Description static PositionedSoundInstance
ambient(SoundEvent sound)
static PositionedSoundInstance
ambient(SoundEvent sound, double x, double y, double z)
static PositionedSoundInstance
ambient(SoundEvent sound, float pitch, float volume)
static PositionedSoundInstance
master(SoundEvent sound, float pitch)
static PositionedSoundInstance
master(SoundEvent sound, float pitch, float volume)
static PositionedSoundInstance
music(SoundEvent sound)
static PositionedSoundInstance
record(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, isLooping, isRepeatable, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.client.sound.SoundInstance
canPlay, shouldAlwaysPlay
-
Constructor Details
-
PositionedSoundInstance
public PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, BlockPos pos)- Mappings:
Namespace Name Mixin selector official <init>
Leuh;<init>(Laef;Laeh;FFLfx;)V
intermediary <init>
Lnet/minecraft/class_1109;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFLnet/minecraft/class_2338;)V
named <init>
Lnet/minecraft/client/sound/PositionedSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFLnet/minecraft/util/math/BlockPos;)V
-
PositionedSoundInstance
public PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, double x, double y, double z)- Mappings:
Namespace Name Mixin selector official <init>
Leuh;<init>(Laef;Laeh;FFDDD)V
intermediary <init>
Lnet/minecraft/class_1109;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFDDD)V
named <init>
Lnet/minecraft/client/sound/PositionedSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFDDD)V
-
PositionedSoundInstance
private PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z)- Mappings:
Namespace Name Mixin selector official <init>
Leuh;<init>(Laef;Laeh;FFZILeul$a;DDD)V
intermediary <init>
Lnet/minecraft/class_1109;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFZILnet/minecraft/class_1113$class_1114;DDD)V
named <init>
Lnet/minecraft/client/sound/PositionedSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFZILnet/minecraft/client/sound/SoundInstance$AttenuationType;DDD)V
-
PositionedSoundInstance
public PositionedSoundInstance(Identifier id, SoundCategory category, float volume, float pitch, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z, boolean looping)- Mappings:
Namespace Name Mixin selector official <init>
Leuh;<init>(Lwb;Laeh;FFZILeul$a;DDDZ)V
intermediary <init>
Lnet/minecraft/class_1109;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_3419;FFZILnet/minecraft/class_1113$class_1114;DDDZ)V
named <init>
Lnet/minecraft/client/sound/PositionedSoundInstance;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/sound/SoundCategory;FFZILnet/minecraft/client/sound/SoundInstance$AttenuationType;DDDZ)V
-
-
Method Details
-
master
- Mappings:
Namespace Name Mixin selector official a
Leuh;a(Laef;F)Leuh;
intermediary method_4758
Lnet/minecraft/class_1109;method_4758(Lnet/minecraft/class_3414;F)Lnet/minecraft/class_1109;
named master
Lnet/minecraft/client/sound/PositionedSoundInstance;master(Lnet/minecraft/sound/SoundEvent;F)Lnet/minecraft/client/sound/PositionedSoundInstance;
-
master
- Mappings:
Namespace Name Mixin selector official a
Leuh;a(Laef;FF)Leuh;
intermediary method_4757
Lnet/minecraft/class_1109;method_4757(Lnet/minecraft/class_3414;FF)Lnet/minecraft/class_1109;
named master
Lnet/minecraft/client/sound/PositionedSoundInstance;master(Lnet/minecraft/sound/SoundEvent;FF)Lnet/minecraft/client/sound/PositionedSoundInstance;
-
music
- Mappings:
Namespace Name Mixin selector official a
Leuh;a(Laef;)Leuh;
intermediary method_4759
Lnet/minecraft/class_1109;method_4759(Lnet/minecraft/class_3414;)Lnet/minecraft/class_1109;
named music
Lnet/minecraft/client/sound/PositionedSoundInstance;music(Lnet/minecraft/sound/SoundEvent;)Lnet/minecraft/client/sound/PositionedSoundInstance;
-
record
- Mappings:
Namespace Name Mixin selector official a
Leuh;a(Laef;DDD)Leuh;
intermediary method_4760
Lnet/minecraft/class_1109;method_4760(Lnet/minecraft/class_3414;DDD)Lnet/minecraft/class_1109;
named record
Lnet/minecraft/client/sound/PositionedSoundInstance;record(Lnet/minecraft/sound/SoundEvent;DDD)Lnet/minecraft/client/sound/PositionedSoundInstance;
-
ambient
- Mappings:
Namespace Name Mixin selector official b
Leuh;b(Laef;FF)Leuh;
intermediary method_24877
Lnet/minecraft/class_1109;method_24877(Lnet/minecraft/class_3414;FF)Lnet/minecraft/class_1109;
named ambient
Lnet/minecraft/client/sound/PositionedSoundInstance;ambient(Lnet/minecraft/sound/SoundEvent;FF)Lnet/minecraft/client/sound/PositionedSoundInstance;
-
ambient
- Mappings:
Namespace Name Mixin selector official b
Leuh;b(Laef;)Leuh;
intermediary method_25466
Lnet/minecraft/class_1109;method_25466(Lnet/minecraft/class_3414;)Lnet/minecraft/class_1109;
named ambient
Lnet/minecraft/client/sound/PositionedSoundInstance;ambient(Lnet/minecraft/sound/SoundEvent;)Lnet/minecraft/client/sound/PositionedSoundInstance;
-
ambient
- Mappings:
Namespace Name Mixin selector official b
Leuh;b(Laef;DDD)Leuh;
intermediary method_25467
Lnet/minecraft/class_1109;method_25467(Lnet/minecraft/class_3414;DDD)Lnet/minecraft/class_1109;
named ambient
Lnet/minecraft/client/sound/PositionedSoundInstance;ambient(Lnet/minecraft/sound/SoundEvent;DDD)Lnet/minecraft/client/sound/PositionedSoundInstance;
-