类 AbstractSoundInstance
- java.lang.Object
-
- net.minecraft.client.sound.AbstractSoundInstance
-
- 所有已实现的接口:
SoundInstance
@Environment(CLIENT) public abstract class AbstractSoundInstance extends Object implements SoundInstance
- Mappings:
Namespace Name official eydintermediary net/minecraft/class_1102named net/minecraft/client/sound/AbstractSoundInstance
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType
-
-
字段概要
字段 修饰符和类型 字段 说明 protected SoundInstance.AttenuationTypeattenuationTypeprotected SoundCategorycategoryprotected Identifieridprotected booleanloopingprotected floatpitchprotected booleanrepeatprotected intrepeatDelayprotected Soundsoundprotected floatvolumeprotected doublexprotected doubleyprotected doublez
-
构造器概要
构造器 限定符 构造器 说明 protectedAbstractSoundInstance(SoundEvent sound, SoundCategory category)protectedAbstractSoundInstance(Identifier soundId, SoundCategory category)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 SoundInstance.AttenuationTypegetAttenuationType()SoundCategorygetCategory()IdentifiergetId()floatgetPitch()intgetRepeatDelay()SoundgetSound()WeightedSoundSetgetSoundSet(SoundManager soundManager)floatgetVolume()doublegetX()doublegetY()doublegetZ()booleanisLooping()booleanisRepeatable()StringtoString()-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.sound.SoundInstance
canPlay, shouldAlwaysPlay
-
-
-
-
字段详细资料
-
sound
protected Sound sound
- Mappings:
Namespace Name Mixin selector official aLeyd;a:Leyr;intermediary field_5444Lnet/minecraft/class_1102;field_5444:Lnet/minecraft/class_1111;named soundLnet/minecraft/client/sound/AbstractSoundInstance;sound:Lnet/minecraft/client/sound/Sound;
-
category
protected final SoundCategory category
- Mappings:
Namespace Name Mixin selector official bLeyd;b:Laex;intermediary field_5447Lnet/minecraft/class_1102;field_5447:Lnet/minecraft/class_3419;named categoryLnet/minecraft/client/sound/AbstractSoundInstance;category:Lnet/minecraft/sound/SoundCategory;
-
id
protected final Identifier id
- Mappings:
Namespace Name Mixin selector official cLeyd;c:Lwp;intermediary field_5448Lnet/minecraft/class_1102;field_5448:Lnet/minecraft/class_2960;named idLnet/minecraft/client/sound/AbstractSoundInstance;id:Lnet/minecraft/util/Identifier;
-
volume
protected float volume
- Mappings:
Namespace Name Mixin selector official dLeyd;d:Fintermediary field_5442Lnet/minecraft/class_1102;field_5442:Fnamed volumeLnet/minecraft/client/sound/AbstractSoundInstance;volume:F
-
pitch
protected float pitch
- Mappings:
Namespace Name Mixin selector official eLeyd;e:Fintermediary field_5441Lnet/minecraft/class_1102;field_5441:Fnamed pitchLnet/minecraft/client/sound/AbstractSoundInstance;pitch:F
-
x
protected double x
- Mappings:
Namespace Name Mixin selector official fLeyd;f:Dintermediary field_5439Lnet/minecraft/class_1102;field_5439:Dnamed xLnet/minecraft/client/sound/AbstractSoundInstance;x:D
-
y
protected double y
- Mappings:
Namespace Name Mixin selector official gLeyd;g:Dintermediary field_5450Lnet/minecraft/class_1102;field_5450:Dnamed yLnet/minecraft/client/sound/AbstractSoundInstance;y:D
-
z
protected double z
- Mappings:
Namespace Name Mixin selector official hLeyd;h:Dintermediary field_5449Lnet/minecraft/class_1102;field_5449:Dnamed zLnet/minecraft/client/sound/AbstractSoundInstance;z:D
-
repeat
protected boolean repeat
- Mappings:
Namespace Name Mixin selector official iLeyd;i:Zintermediary field_5446Lnet/minecraft/class_1102;field_5446:Znamed repeatLnet/minecraft/client/sound/AbstractSoundInstance;repeat:Z
-
repeatDelay
protected int repeatDelay
- Mappings:
Namespace Name Mixin selector official jLeyd;j:Iintermediary field_5451Lnet/minecraft/class_1102;field_5451:Inamed repeatDelayLnet/minecraft/client/sound/AbstractSoundInstance;repeatDelay:I
-
attenuationType
protected SoundInstance.AttenuationType attenuationType
- Mappings:
Namespace Name Mixin selector official kLeyd;k:Leyu$a;intermediary field_5440Lnet/minecraft/class_1102;field_5440:Lnet/minecraft/class_1113$class_1114;named attenuationTypeLnet/minecraft/client/sound/AbstractSoundInstance;attenuationType:Lnet/minecraft/client/sound/SoundInstance$AttenuationType;
-
looping
protected boolean looping
- Mappings:
Namespace Name Mixin selector official lLeyd;l:Zintermediary field_18936Lnet/minecraft/class_1102;field_18936:Znamed loopingLnet/minecraft/client/sound/AbstractSoundInstance;looping:Z
-
-
构造器详细资料
-
AbstractSoundInstance
protected AbstractSoundInstance(SoundEvent sound, SoundCategory category)
- Mappings:
Namespace Name Mixin selector official <init>Leyd;<init>(Laev;Laex;)Vintermediary <init>Lnet/minecraft/class_1102;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;)Vnamed <init>Lnet/minecraft/client/sound/AbstractSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;)V
-
AbstractSoundInstance
protected AbstractSoundInstance(Identifier soundId, SoundCategory category)
- Mappings:
Namespace Name Mixin selector official <init>Leyd;<init>(Lwp;Laex;)Vintermediary <init>Lnet/minecraft/class_1102;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_3419;)Vnamed <init>Lnet/minecraft/client/sound/AbstractSoundInstance;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/sound/SoundCategory;)V
-
-
方法详细资料
-
getId
public Identifier getId()
- 指定者:
getId在接口中SoundInstance- Mappings:
Namespace Name Mixin selector official aLeyu;a()Lwp;intermediary method_4775Lnet/minecraft/class_1113;method_4775()Lnet/minecraft/class_2960;named getIdLnet/minecraft/client/sound/SoundInstance;getId()Lnet/minecraft/util/Identifier;
-
getSoundSet
public WeightedSoundSet getSoundSet(SoundManager soundManager)
- 指定者:
getSoundSet在接口中SoundInstance- Mappings:
Namespace Name Mixin selector official aLeyu;a(Lezu;)Lezv;intermediary method_4783Lnet/minecraft/class_1113;method_4783(Lnet/minecraft/class_1144;)Lnet/minecraft/class_1146;named getSoundSetLnet/minecraft/client/sound/SoundInstance;getSoundSet(Lnet/minecraft/client/sound/SoundManager;)Lnet/minecraft/client/sound/WeightedSoundSet;
-
getSound
public Sound getSound()
- 指定者:
getSound在接口中SoundInstance- Mappings:
Namespace Name Mixin selector official bLeyu;b()Leyr;intermediary method_4776Lnet/minecraft/class_1113;method_4776()Lnet/minecraft/class_1111;named getSoundLnet/minecraft/client/sound/SoundInstance;getSound()Lnet/minecraft/client/sound/Sound;
-
getCategory
public SoundCategory getCategory()
- 指定者:
getCategory在接口中SoundInstance- Mappings:
Namespace Name Mixin selector official cLeyu;c()Laex;intermediary method_4774Lnet/minecraft/class_1113;method_4774()Lnet/minecraft/class_3419;named getCategoryLnet/minecraft/client/sound/SoundInstance;getCategory()Lnet/minecraft/sound/SoundCategory;
-
isRepeatable
public boolean isRepeatable()
- 指定者:
isRepeatable在接口中SoundInstance- Mappings:
Namespace Name Mixin selector official dLeyu;d()Zintermediary method_4786Lnet/minecraft/class_1113;method_4786()Znamed isRepeatableLnet/minecraft/client/sound/SoundInstance;isRepeatable()Z
-
getRepeatDelay
public int getRepeatDelay()
- 指定者:
getRepeatDelay在接口中SoundInstance- Mappings:
Namespace Name Mixin selector official eLeyu;e()Iintermediary method_4780Lnet/minecraft/class_1113;method_4780()Inamed getRepeatDelayLnet/minecraft/client/sound/SoundInstance;getRepeatDelay()I
-
getVolume
public float getVolume()
- 指定者:
getVolume在接口中SoundInstance- Mappings:
Namespace Name Mixin selector official fLeyu;f()Fintermediary method_4781Lnet/minecraft/class_1113;method_4781()Fnamed getVolumeLnet/minecraft/client/sound/SoundInstance;getVolume()F
-
getPitch
public float getPitch()
- 指定者:
getPitch在接口中SoundInstance- Mappings:
Namespace Name Mixin selector official gLeyu;g()Fintermediary method_4782Lnet/minecraft/class_1113;method_4782()Fnamed getPitchLnet/minecraft/client/sound/SoundInstance;getPitch()F
-
getX
public double getX()
- 指定者:
getX在接口中SoundInstance- Mappings:
Namespace Name Mixin selector official hLeyu;h()Dintermediary method_4784Lnet/minecraft/class_1113;method_4784()Dnamed getXLnet/minecraft/client/sound/SoundInstance;getX()D
-
getY
public double getY()
- 指定者:
getY在接口中SoundInstance- Mappings:
Namespace Name Mixin selector official iLeyu;i()Dintermediary method_4779Lnet/minecraft/class_1113;method_4779()Dnamed getYLnet/minecraft/client/sound/SoundInstance;getY()D
-
getZ
public double getZ()
- 指定者:
getZ在接口中SoundInstance- Mappings:
Namespace Name Mixin selector official jLeyu;j()Dintermediary method_4778Lnet/minecraft/class_1113;method_4778()Dnamed getZLnet/minecraft/client/sound/SoundInstance;getZ()D
-
getAttenuationType
public SoundInstance.AttenuationType getAttenuationType()
- 指定者:
getAttenuationType在接口中SoundInstance- Mappings:
Namespace Name Mixin selector official kLeyu;k()Leyu$a;intermediary method_4777Lnet/minecraft/class_1113;method_4777()Lnet/minecraft/class_1113$class_1114;named getAttenuationTypeLnet/minecraft/client/sound/SoundInstance;getAttenuationType()Lnet/minecraft/client/sound/SoundInstance$AttenuationType;
-
isLooping
public boolean isLooping()
- 指定者:
isLooping在接口中SoundInstance- Mappings:
Namespace Name Mixin selector official lLeyu;l()Zintermediary method_4787Lnet/minecraft/class_1113;method_4787()Znamed isLoopingLnet/minecraft/client/sound/SoundInstance;isLooping()Z
-
toString
public String toString()
-
-