Class BeeSoundInstance
java.lang.Object
net.minecraft.client.resources.sounds.AbstractSoundInstance
net.minecraft.client.resources.sounds.AbstractTickableSoundInstance
net.minecraft.client.resources.sounds.BeeSoundInstance
- All Implemented Interfaces:
- SoundInstance,- TickableSoundInstance
- Direct Known Subclasses:
- BeeAggressiveSoundInstance,- BeeFlyingSoundInstance
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.client.resources.sounds.SoundInstanceSoundInstance.Attenuation
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final Beeprivate booleanprivate static final floatprivate static final floatprivate static final float
- 
Constructor SummaryConstructorsConstructorDescriptionBeeSoundInstance(Bee p_119621_, SoundEvent p_119622_, SoundSource p_119623_) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbooleanprotected abstract AbstractTickableSoundInstanceprivate floatprivate floatprotected abstract booleanvoidtick()Methods inherited from class net.minecraft.client.resources.sounds.AbstractTickableSoundInstanceisStopped, stopMethods inherited from class net.minecraft.client.resources.sounds.AbstractSoundInstancegetAttenuation, getDelay, getLocation, getPitch, getSound, getSource, getVolume, getX, getY, getZ, isLooping, isRelative, resolve, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.client.resources.sounds.SoundInstancegetAttenuation, getDelay, getLocation, getPitch, getSound, getSource, getStream, getVolume, getX, getY, getZ, isLooping, isRelative, resolve
- 
Field Details- 
VOLUME_MINprivate static final float VOLUME_MIN- See Also:
 
- 
VOLUME_MAXprivate static final float VOLUME_MAX- See Also:
 
- 
PITCH_MINprivate static final float PITCH_MIN- See Also:
 
- 
bee
- 
hasSwitchedprivate boolean hasSwitched
 
- 
- 
Constructor Details- 
BeeSoundInstance
 
- 
- 
Method Details- 
tickpublic void tick()
- 
getMinPitchprivate float getMinPitch()
- 
getMaxPitchprivate float getMaxPitch()
- 
canStartSilentpublic boolean canStartSilent()
- 
canPlaySoundpublic boolean canPlaySound()
- 
getAlternativeSoundInstance
- 
shouldSwitchSoundsprotected abstract boolean shouldSwitchSounds()
 
-