Package net.minecraft.client.sound
Class AbstractBeeSoundInstance
java.lang.Object
net.minecraft.client.sound.AbstractSoundInstance
net.minecraft.client.sound.MovingSoundInstance
net.minecraft.client.sound.AbstractBeeSoundInstance
- All Implemented Interfaces:
SoundInstance,TickableSoundInstance
- Direct Known Subclasses:
AggressiveBeeSoundInstance,PassiveBeeSoundInstance
- Mappings:
Namespace Name intermediary net/minecraft/class_4510official fxanamed net/minecraft/client/sound/AbstractBeeSoundInstance
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final BeeEntityprivate static final floatprivate static final floatprivate static final floatprivate booleanFields inherited from class net.minecraft.client.sound.AbstractSoundInstance
attenuationType, category, id, pitch, random, relative, repeat, repeatDelay, sound, volume, x, y, z -
Constructor Summary
ConstructorsConstructorDescriptionAbstractBeeSoundInstance(BeeEntity entity, SoundEvent sound, SoundCategory soundCategory) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanPlay()private floatprivate floatprotected abstract MovingSoundInstancebooleanprotected abstract booleanvoidtick()Methods inherited from class net.minecraft.client.sound.MovingSoundInstance
isDone, setDoneMethods inherited from class net.minecraft.client.sound.AbstractSoundInstance
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isRelative, isRepeatable, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.client.sound.SoundInstance
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isRelative, isRepeatable
-
Field Details
-
field_32991
private static final float field_32991- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32991Lnet/minecraft/class_4510;field_32991:Fofficial oLfxa;o:Fnamed field_32991Lnet/minecraft/client/sound/AbstractBeeSoundInstance;field_32991:F
-
field_32992
private static final float field_32992- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32992Lnet/minecraft/class_4510;field_32992:Fofficial pLfxa;p:Fnamed field_32992Lnet/minecraft/client/sound/AbstractBeeSoundInstance;field_32992:F
-
field_32993
private static final float field_32993- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32993Lnet/minecraft/class_4510;field_32993:Fofficial qLfxa;q:Fnamed field_32993Lnet/minecraft/client/sound/AbstractBeeSoundInstance;field_32993:F
-
bee
- Mappings:
Namespace Name Mixin selector intermediary field_20530Lnet/minecraft/class_4510;field_20530:Lnet/minecraft/class_4466;official nLfxa;n:Lbrk;named beeLnet/minecraft/client/sound/AbstractBeeSoundInstance;bee:Lnet/minecraft/entity/passive/BeeEntity;
-
replaced
private boolean replaced- Mappings:
Namespace Name Mixin selector intermediary field_20531Lnet/minecraft/class_4510;field_20531:Zofficial rLfxa;r:Znamed replacedLnet/minecraft/client/sound/AbstractBeeSoundInstance;replaced:Z
-
-
Constructor Details
-
AbstractBeeSoundInstance
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_4510;<init>(Lnet/minecraft/class_4466;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;)Vofficial <init>Lfxa;<init>(Lbrk;Lamg;Lami;)Vnamed <init>Lnet/minecraft/client/sound/AbstractBeeSoundInstance;<init>(Lnet/minecraft/entity/passive/BeeEntity;Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;)V
-
-
Method Details
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector intermediary method_16896Lnet/minecraft/class_1117;method_16896()Vofficial qLfxo;q()Vnamed tickLnet/minecraft/client/sound/TickableSoundInstance;tick()V
-
getMinPitch
private float getMinPitch()- Mappings:
Namespace Name Mixin selector intermediary method_22137Lnet/minecraft/class_4510;method_22137()Fofficial uLfxa;u()Fnamed getMinPitchLnet/minecraft/client/sound/AbstractBeeSoundInstance;getMinPitch()F
-
getMaxPitch
private float getMaxPitch()- Mappings:
Namespace Name Mixin selector intermediary method_22138Lnet/minecraft/class_4510;method_22138()Fofficial vLfxa;v()Fnamed getMaxPitchLnet/minecraft/client/sound/AbstractBeeSoundInstance;getMaxPitch()F
-
shouldAlwaysPlay
public boolean shouldAlwaysPlay()- Mappings:
Namespace Name Mixin selector intermediary method_4785Lnet/minecraft/class_1113;method_4785()Zofficial rLfxn;r()Znamed shouldAlwaysPlayLnet/minecraft/client/sound/SoundInstance;shouldAlwaysPlay()Z
-
canPlay
public boolean canPlay()- Mappings:
Namespace Name Mixin selector intermediary method_26273Lnet/minecraft/class_1113;method_26273()Zofficial sLfxn;s()Znamed canPlayLnet/minecraft/client/sound/SoundInstance;canPlay()Z
-
getReplacement
- Mappings:
Namespace Name Mixin selector intermediary method_22135Lnet/minecraft/class_4510;method_22135()Lnet/minecraft/class_1101;official oLfxa;o()Lfww;named getReplacementLnet/minecraft/client/sound/AbstractBeeSoundInstance;getReplacement()Lnet/minecraft/client/sound/MovingSoundInstance;
-
shouldReplace
protected abstract boolean shouldReplace()- Mappings:
Namespace Name Mixin selector intermediary method_22136Lnet/minecraft/class_4510;method_22136()Zofficial pLfxa;p()Znamed shouldReplaceLnet/minecraft/client/sound/AbstractBeeSoundInstance;shouldReplace()Z
-