类 PositionedSoundInstance
- java.lang.Object
-
- net.minecraft.client.sound.AbstractSoundInstance
-
- net.minecraft.client.sound.PositionedSoundInstance
-
- 所有已实现的接口:
SoundInstance
@Environment(CLIENT) public class PositionedSoundInstance extends AbstractSoundInstance
- Mappings:
Namespace Name official eyqintermediary net/minecraft/class_1109named net/minecraft/client/sound/PositionedSoundInstance
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType
-
-
字段概要
-
从类继承的字段 net.minecraft.client.sound.AbstractSoundInstance
attenuationType, category, id, looping, pitch, repeat, repeatDelay, sound, volume, x, y, z
-
-
构造器概要
构造器 限定符 构造器 说明 privatePositionedSoundInstance(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)
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static PositionedSoundInstanceambient(SoundEvent sound)static PositionedSoundInstanceambient(SoundEvent sound, double x, double y, double z)static PositionedSoundInstanceambient(SoundEvent sound, float pitch, float volume)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)-
从类继承的方法 net.minecraft.client.sound.AbstractSoundInstance
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable, toString
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.sound.SoundInstance
canPlay, shouldAlwaysPlay
-
-
-
-
构造器详细资料
-
PositionedSoundInstance
public PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, BlockPos pos)
- Mappings:
Namespace Name Mixin selector official <init>Leyq;<init>(Laev;Laex;FFLgb;)Vintermediary <init>Lnet/minecraft/class_1109;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFLnet/minecraft/class_2338;)Vnamed <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>Leyq;<init>(Laev;Laex;FFDDD)Vintermediary <init>Lnet/minecraft/class_1109;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFDDD)Vnamed <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>Leyq;<init>(Laev;Laex;FFZILeyu$a;DDD)Vintermediary <init>Lnet/minecraft/class_1109;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFZILnet/minecraft/class_1113$class_1114;DDD)Vnamed <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>Leyq;<init>(Lwp;Laex;FFZILeyu$a;DDDZ)Vintermediary <init>Lnet/minecraft/class_1109;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_3419;FFZILnet/minecraft/class_1113$class_1114;DDDZ)Vnamed <init>Lnet/minecraft/client/sound/PositionedSoundInstance;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/sound/SoundCategory;FFZILnet/minecraft/client/sound/SoundInstance$AttenuationType;DDDZ)V
-
-
方法详细资料
-
master
public static PositionedSoundInstance master(SoundEvent sound, float pitch)
- Mappings:
Namespace Name Mixin selector official aLeyq;a(Laev;F)Leyq;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
public static PositionedSoundInstance master(SoundEvent sound, float pitch, float volume)
- Mappings:
Namespace Name Mixin selector official aLeyq;a(Laev;FF)Leyq;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
public static PositionedSoundInstance music(SoundEvent sound)
- Mappings:
Namespace Name Mixin selector official aLeyq;a(Laev;)Leyq;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
public static PositionedSoundInstance record(SoundEvent sound, double x, double y, double z)
- Mappings:
Namespace Name Mixin selector official aLeyq;a(Laev;DDD)Leyq;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
public static PositionedSoundInstance ambient(SoundEvent sound, float pitch, float volume)
- Mappings:
Namespace Name Mixin selector official bLeyq;b(Laev;FF)Leyq;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
public static PositionedSoundInstance ambient(SoundEvent sound)
- Mappings:
Namespace Name Mixin selector official bLeyq;b(Laev;)Leyq;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, double x, double y, double z)
- Mappings:
Namespace Name Mixin selector official bLeyq;b(Laev;DDD)Leyq;intermediary method_25467Lnet/minecraft/class_1109;method_25467(Lnet/minecraft/class_3414;DDD)Lnet/minecraft/class_1109;named ambientLnet/minecraft/client/sound/PositionedSoundInstance;ambient(Lnet/minecraft/sound/SoundEvent;DDD)Lnet/minecraft/client/sound/PositionedSoundInstance;
-
-