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 fmj
intermediary net/minecraft/class_4510
named net/minecraft/client/sound/AbstractBeeSoundInstance
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType
-
Field Summary
Modifier and TypeFieldDescriptionprotected final BeeEntity
private static final float
private static final float
private static final float
private boolean
Fields inherited from class net.minecraft.client.sound.AbstractSoundInstance
attenuationType, category, field_38800, id, pitch, relative, repeat, repeatDelay, sound, volume, x, y, z
-
Constructor Summary
ConstructorDescriptionAbstractBeeSoundInstance
(BeeEntity entity, SoundEvent sound, SoundCategory soundCategory) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canPlay()
private float
private float
protected abstract MovingSoundInstance
boolean
protected abstract boolean
void
tick()
Methods inherited from class net.minecraft.client.sound.MovingSoundInstance
isDone, setDone
Methods inherited from class net.minecraft.client.sound.AbstractSoundInstance
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isRelative, isRepeatable, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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 o
Lfmj;o:F
intermediary field_32991
Lnet/minecraft/class_4510;field_32991:F
named field_32991
Lnet/minecraft/client/sound/AbstractBeeSoundInstance;field_32991:F
-
field_32992
private static final float field_32992- See Also:
- Mappings:
Namespace Name Mixin selector official p
Lfmj;p:F
intermediary field_32992
Lnet/minecraft/class_4510;field_32992:F
named field_32992
Lnet/minecraft/client/sound/AbstractBeeSoundInstance;field_32992:F
-
field_32993
private static final float field_32993- See Also:
- Mappings:
Namespace Name Mixin selector official q
Lfmj;q:F
intermediary field_32993
Lnet/minecraft/class_4510;field_32993:F
named field_32993
Lnet/minecraft/client/sound/AbstractBeeSoundInstance;field_32993:F
-
bee
- Mappings:
Namespace Name Mixin selector official n
Lfmj;n:Lbnf;
intermediary field_20530
Lnet/minecraft/class_4510;field_20530:Lnet/minecraft/class_4466;
named bee
Lnet/minecraft/client/sound/AbstractBeeSoundInstance;bee:Lnet/minecraft/entity/passive/BeeEntity;
-
replaced
private boolean replaced- Mappings:
Namespace Name Mixin selector official r
Lfmj;r:Z
intermediary field_20531
Lnet/minecraft/class_4510;field_20531:Z
named replaced
Lnet/minecraft/client/sound/AbstractBeeSoundInstance;replaced:Z
-
-
Constructor Details
-
AbstractBeeSoundInstance
- Mappings:
Namespace Name Mixin selector official <init>
Lfmj;<init>(Lbnf;Lajv;Lajx;)V
intermediary <init>
Lnet/minecraft/class_4510;<init>(Lnet/minecraft/class_4466;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;)V
named <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 q
Lfmw;q()V
intermediary method_16896
Lnet/minecraft/class_1117;method_16896()V
named tick
Lnet/minecraft/client/sound/TickableSoundInstance;tick()V
-
getMinPitch
private float getMinPitch()- Mappings:
Namespace Name Mixin selector official u
Lfmj;u()F
intermediary method_22137
Lnet/minecraft/class_4510;method_22137()F
named getMinPitch
Lnet/minecraft/client/sound/AbstractBeeSoundInstance;getMinPitch()F
-
getMaxPitch
private float getMaxPitch()- Mappings:
Namespace Name Mixin selector official v
Lfmj;v()F
intermediary method_22138
Lnet/minecraft/class_4510;method_22138()F
named getMaxPitch
Lnet/minecraft/client/sound/AbstractBeeSoundInstance;getMaxPitch()F
-
shouldAlwaysPlay
public boolean shouldAlwaysPlay()- Mappings:
Namespace Name Mixin selector official r
Lfmv;r()Z
intermediary method_4785
Lnet/minecraft/class_1113;method_4785()Z
named shouldAlwaysPlay
Lnet/minecraft/client/sound/SoundInstance;shouldAlwaysPlay()Z
-
canPlay
public boolean canPlay()- Mappings:
Namespace Name Mixin selector official s
Lfmv;s()Z
intermediary method_26273
Lnet/minecraft/class_1113;method_26273()Z
named canPlay
Lnet/minecraft/client/sound/SoundInstance;canPlay()Z
-
getReplacement
- Mappings:
Namespace Name Mixin selector official o
Lfmj;o()Lfmf;
intermediary method_22135
Lnet/minecraft/class_4510;method_22135()Lnet/minecraft/class_1101;
named getReplacement
Lnet/minecraft/client/sound/AbstractBeeSoundInstance;getReplacement()Lnet/minecraft/client/sound/MovingSoundInstance;
-
shouldReplace
protected abstract boolean shouldReplace()- Mappings:
Namespace Name Mixin selector official p
Lfmj;p()Z
intermediary method_22136
Lnet/minecraft/class_4510;method_22136()Z
named shouldReplace
Lnet/minecraft/client/sound/AbstractBeeSoundInstance;shouldReplace()Z
-