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 - fxt- intermediary - net/minecraft/class_1109- named - net/minecraft/client/sound/PositionedSoundInstance
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.client.sound.SoundInstanceSoundInstance.AttenuationType
- 
Field SummaryFields inherited from class net.minecraft.client.sound.AbstractSoundInstanceattenuationType, category, id, pitch, random, relative, repeat, repeatDelay, sound, volume, x, y, z
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivatePositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z) PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, double x, double y, double z) PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, BlockPos pos) PositionedSoundInstance(Identifier id, SoundCategory category, float volume, float pitch, Random random, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z, boolean relative) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic PositionedSoundInstanceambient(SoundEvent sound) static PositionedSoundInstanceambient(SoundEvent sound, float pitch, float volume) static PositionedSoundInstanceambient(SoundEvent sound, Random random, double x, double y, double z) static PositionedSoundInstancemaster(RegistryEntry<SoundEvent> sound, float pitch) static PositionedSoundInstancemaster(SoundEvent sound, float pitch) static PositionedSoundInstancemaster(SoundEvent sound, float pitch, float volume) static PositionedSoundInstancemusic(SoundEvent sound) static PositionedSoundInstancerecord(SoundEvent sound, Vec3d pos) Methods inherited from class net.minecraft.client.sound.AbstractSoundInstancegetAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isRelative, isRepeatable, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.client.sound.SoundInstancecanPlay, shouldAlwaysPlay
- 
Constructor Details- 
PositionedSoundInstancepublic PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, BlockPos pos) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lfxt;<init>(Lamg;Lami;FFLapf;Lgu;)V- intermediary - <init>- Lnet/minecraft/class_1109;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFLnet/minecraft/class_5819;Lnet/minecraft/class_2338;)V- named - <init>- Lnet/minecraft/client/sound/PositionedSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFLnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)V
 
- 
PositionedSoundInstancepublic PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, double x, double y, double z) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lfxt;<init>(Lamg;Lami;FFLapf;DDD)V- intermediary - <init>- Lnet/minecraft/class_1109;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFLnet/minecraft/class_5819;DDD)V- named - <init>- Lnet/minecraft/client/sound/PositionedSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFLnet/minecraft/util/math/random/Random;DDD)V
 
- 
PositionedSoundInstanceprivate PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lfxt;<init>(Lamg;Lami;FFLapf;ZILfxy$a;DDD)V- intermediary - <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)V- named - <init>- Lnet/minecraft/client/sound/PositionedSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFLnet/minecraft/util/math/random/Random;ZILnet/minecraft/client/sound/SoundInstance$AttenuationType;DDD)V
 
- 
PositionedSoundInstancepublic PositionedSoundInstance(Identifier id, SoundCategory category, float volume, float pitch, Random random, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z, boolean relative) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lfxt;<init>(Lacq;Lami;FFLapf;ZILfxy$a;DDDZ)V- intermediary - <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)V- named - <init>- Lnet/minecraft/client/sound/PositionedSoundInstance;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/sound/SoundCategory;FFLnet/minecraft/util/math/random/Random;ZILnet/minecraft/client/sound/SoundInstance$AttenuationType;DDDZ)V
 
 
- 
- 
Method Details- 
master- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfxt;a(Lamg;F)Lfxt;- 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- Lfxt;a(Lhe;F)Lfxt;- intermediary - method_47978- Lnet/minecraft/class_1109;method_47978(Lnet/minecraft/class_6880;F)Lnet/minecraft/class_1109;- named - master- Lnet/minecraft/client/sound/PositionedSoundInstance;master(Lnet/minecraft/registry/entry/RegistryEntry;F)Lnet/minecraft/client/sound/PositionedSoundInstance;
 
- 
master- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfxt;a(Lamg;FF)Lfxt;- 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- Lfxt;a(Lamg;)Lfxt;- 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- Lfxt;a(Lamg;Leei;)Lfxt;- intermediary - method_4760- Lnet/minecraft/class_1109;method_4760(Lnet/minecraft/class_3414;Lnet/minecraft/class_243;)Lnet/minecraft/class_1109;- named - record- Lnet/minecraft/client/sound/PositionedSoundInstance;record(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/client/sound/PositionedSoundInstance;
 
- 
ambient- Mappings:
- Namespace - Name - Mixin selector - official - b- Lfxt;b(Lamg;FF)Lfxt;- 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- Lfxt;b(Lamg;)Lfxt;- 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;
 
- 
ambientpublic static PositionedSoundInstance ambient(SoundEvent sound, Random random, double x, double y, double z) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lfxt;a(Lamg;Lapf;DDD)Lfxt;- intermediary - method_25467- Lnet/minecraft/class_1109;method_25467(Lnet/minecraft/class_3414;Lnet/minecraft/class_5819;DDD)Lnet/minecraft/class_1109;- named - ambient- Lnet/minecraft/client/sound/PositionedSoundInstance;ambient(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/util/math/random/Random;DDD)Lnet/minecraft/client/sound/PositionedSoundInstance;
 
 
-