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 etzintermediary 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 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
-
bee
- Mappings:
Namespace Name Mixin selector official mLetz;m:Lbbk;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 nLetz;n: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>Letz;<init>(Lbbk;Laef;Laeh;)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 qLeum;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 tLetz;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 uLetz;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 rLeul;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 sLeul;s()Zintermediary method_26273Lnet/minecraft/class_1113;method_26273()Znamed canPlayLnet/minecraft/client/sound/SoundInstance;canPlay()Z
-
getReplacement
- Mappings:
Namespace Name Mixin selector official oLetz;o()Letv;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 pLetz;p()Zintermediary method_22136Lnet/minecraft/class_4510;method_22136()Znamed shouldReplaceLnet/minecraft/client/sound/AbstractBeeSoundInstance;shouldReplace()Z
-