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
@Environment(CLIENT) public abstract class AbstractBeeSoundInstance extends MovingSoundInstance
- Mappings:
Namespace Name official eygintermediary 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
Fields Modifier and Type Field Description protected BeeEntitybeeprivate static floatfield_32991private static floatfield_32992private static floatfield_32993private booleanreplacedFields inherited from class net.minecraft.client.sound.AbstractSoundInstance
attenuationType, category, id, looping, pitch, repeat, repeatDelay, sound, volume, x, y, z -
Constructor Summary
Constructors Constructor Description AbstractBeeSoundInstance(BeeEntity entity, SoundEvent sound, SoundCategory soundCategory) -
Method Summary
Modifier and Type Method Description booleancanPlay()private floatgetMaxPitch()private floatgetMinPitch()protected abstract MovingSoundInstancegetReplacement()booleanshouldAlwaysPlay()protected abstract booleanshouldReplace()voidtick()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, isLooping, 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, isLooping, isRepeatable
-
Field Details
-
field_32991
private static final float field_32991- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official nLeyg;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- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official oLeyg;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- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official pLeyg;p: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 mLeyg;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 qLeyg;q: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>Leyg;<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
-
-
Method Details
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official qLeyt;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 tLeyg;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 uLeyg;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 rLeys;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 sLeys;s()Zintermediary method_26273Lnet/minecraft/class_1113;method_26273()Znamed canPlayLnet/minecraft/client/sound/SoundInstance;canPlay()Z
-
getReplacement
- Mappings:
Namespace Name Mixin selector official oLeyg;o()Leyc;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 pLeyg;p()Zintermediary method_22136Lnet/minecraft/class_4510;method_22136()Znamed shouldReplaceLnet/minecraft/client/sound/AbstractBeeSoundInstance;shouldReplace()Z
-