类 AbstractBeeSoundInstance
- java.lang.Object
-
- net.minecraft.client.sound.AbstractSoundInstance
-
- net.minecraft.client.sound.MovingSoundInstance
-
- net.minecraft.client.sound.AbstractBeeSoundInstance
-
- 所有已实现的接口:
SoundInstance,TickableSoundInstance
@Environment(CLIENT) public abstract class AbstractBeeSoundInstance extends MovingSoundInstance
- Mappings:
Namespace Name official eyiintermediary net/minecraft/class_4510named net/minecraft/client/sound/AbstractBeeSoundInstance
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType
-
-
字段概要
字段 修饰符和类型 字段 说明 protected BeeEntitybeeprivate static floatfield_32991private static floatfield_32992private static floatfield_32993private booleanreplaced-
从类继承的字段 net.minecraft.client.sound.AbstractSoundInstance
attenuationType, category, id, looping, pitch, repeat, repeatDelay, sound, volume, x, y, z
-
-
构造器概要
构造器 构造器 说明 AbstractBeeSoundInstance(BeeEntity entity, SoundEvent sound, SoundCategory soundCategory)
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 booleancanPlay()private floatgetMaxPitch()private floatgetMinPitch()protected abstract MovingSoundInstancegetReplacement()booleanshouldAlwaysPlay()protected abstract booleanshouldReplace()voidtick()-
从类继承的方法 net.minecraft.client.sound.MovingSoundInstance
isDone, setDone
-
从类继承的方法 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
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable
-
-
-
-
字段详细资料
-
field_32991
private static final float field_32991
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official nLeyi;n:Fintermediary field_32991Lnet/minecraft/class_4510;field_32991:Fnamed field_32991Lnet/minecraft/client/sound/AbstractBeeSoundInstance;field_32991:F
-
field_32992
private static final float field_32992
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official oLeyi;o:Fintermediary field_32992Lnet/minecraft/class_4510;field_32992:Fnamed field_32992Lnet/minecraft/client/sound/AbstractBeeSoundInstance;field_32992:F
-
field_32993
private static final float field_32993
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official pLeyi;p:Fintermediary field_32993Lnet/minecraft/class_4510;field_32993:Fnamed field_32993Lnet/minecraft/client/sound/AbstractBeeSoundInstance;field_32993:F
-
bee
protected final BeeEntity bee
- Mappings:
Namespace Name Mixin selector official mLeyi;m:Lbda;intermediary field_20530Lnet/minecraft/class_4510;field_20530:Lnet/minecraft/class_4466;named beeLnet/minecraft/client/sound/AbstractBeeSoundInstance;bee:Lnet/minecraft/entity/passive/BeeEntity;
-
replaced
private boolean replaced
- Mappings:
Namespace Name Mixin selector official qLeyi;q:Zintermediary field_20531Lnet/minecraft/class_4510;field_20531:Znamed replacedLnet/minecraft/client/sound/AbstractBeeSoundInstance;replaced:Z
-
-
构造器详细资料
-
AbstractBeeSoundInstance
public AbstractBeeSoundInstance(BeeEntity entity, SoundEvent sound, SoundCategory soundCategory)
- Mappings:
Namespace Name Mixin selector official <init>Leyi;<init>(Lbda;Laev;Laex;)Vintermediary <init>Lnet/minecraft/class_4510;<init>(Lnet/minecraft/class_4466;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;)Vnamed <init>Lnet/minecraft/client/sound/AbstractBeeSoundInstance;<init>(Lnet/minecraft/entity/passive/BeeEntity;Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;)V
-
-
方法详细资料
-
tick
public void tick()
- Mappings:
Namespace Name Mixin selector official qLeyv;q()Vintermediary method_16896Lnet/minecraft/class_1117;method_16896()Vnamed tickLnet/minecraft/client/sound/TickableSoundInstance;tick()V
-
getMinPitch
private float getMinPitch()
- Mappings:
Namespace Name Mixin selector official tLeyi;t()Fintermediary method_22137Lnet/minecraft/class_4510;method_22137()Fnamed getMinPitchLnet/minecraft/client/sound/AbstractBeeSoundInstance;getMinPitch()F
-
getMaxPitch
private float getMaxPitch()
- Mappings:
Namespace Name Mixin selector official uLeyi;u()Fintermediary method_22138Lnet/minecraft/class_4510;method_22138()Fnamed getMaxPitchLnet/minecraft/client/sound/AbstractBeeSoundInstance;getMaxPitch()F
-
shouldAlwaysPlay
public boolean shouldAlwaysPlay()
- Mappings:
Namespace Name Mixin selector official rLeyu;r()Zintermediary method_4785Lnet/minecraft/class_1113;method_4785()Znamed shouldAlwaysPlayLnet/minecraft/client/sound/SoundInstance;shouldAlwaysPlay()Z
-
canPlay
public boolean canPlay()
- Mappings:
Namespace Name Mixin selector official sLeyu;s()Zintermediary method_26273Lnet/minecraft/class_1113;method_26273()Znamed canPlayLnet/minecraft/client/sound/SoundInstance;canPlay()Z
-
getReplacement
protected abstract MovingSoundInstance getReplacement()
- Mappings:
Namespace Name Mixin selector official oLeyi;o()Leye;intermediary method_22135Lnet/minecraft/class_4510;method_22135()Lnet/minecraft/class_1101;named getReplacementLnet/minecraft/client/sound/AbstractBeeSoundInstance;getReplacement()Lnet/minecraft/client/sound/MovingSoundInstance;
-
shouldReplace
protected abstract boolean shouldReplace()
- Mappings:
Namespace Name Mixin selector official pLeyi;p()Zintermediary method_22136Lnet/minecraft/class_4510;method_22136()Znamed shouldReplaceLnet/minecraft/client/sound/AbstractBeeSoundInstance;shouldReplace()Z
-
-