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 official ghlintermediary net/minecraft/class_4510named 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 official oLghl;o: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- See Also:
- Mappings:
Namespace Name Mixin selector official pLghl;p: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- See Also:
- Mappings:
Namespace Name Mixin selector official qLghl;q:Fintermediary field_32993Lnet/minecraft/class_4510;field_32993:Fnamed field_32993Lnet/minecraft/client/sound/AbstractBeeSoundInstance;field_32993:F
-
bee
- Mappings:
Namespace Name Mixin selector official nLghl;n:Lbxy;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 rLghl;r:Zintermediary field_20531Lnet/minecraft/class_4510;field_20531:Znamed replacedLnet/minecraft/client/sound/AbstractBeeSoundInstance;replaced:Z
-
-
Constructor Details
-
AbstractBeeSoundInstance
- Mappings:
Namespace Name Mixin selector official <init>Lghl;<init>(Lbxy;Larq;Lars;)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
-
-
Method Details
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official qLghz;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 uLghl;u()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 vLghl;v()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 rLghy;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 sLghy;s()Zintermediary method_26273Lnet/minecraft/class_1113;method_26273()Znamed canPlayLnet/minecraft/client/sound/SoundInstance;canPlay()Z
-
getReplacement
- Mappings:
Namespace Name Mixin selector official oLghl;o()Lghh;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 pLghl;p()Zintermediary method_22136Lnet/minecraft/class_4510;method_22136()Znamed shouldReplaceLnet/minecraft/client/sound/AbstractBeeSoundInstance;shouldReplace()Z
-