Package net.minecraft.client.audio
Class BeeSound
java.lang.Object
net.minecraft.client.audio.LocatableSound
net.minecraft.client.audio.TickableSound
net.minecraft.client.audio.BeeSound
- All Implemented Interfaces:
ISound,ITickableSound
- Direct Known Subclasses:
BeeAngrySound,BeeFlightSound
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.audio.ISound
ISound.AttenuationType -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBeeSound(BeeEntity p_i226060_1_, SoundEvent p_i226060_2_, SoundCategory p_i226060_3_) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanprotected abstract TickableSoundprivate floatprivate floatprotected abstract booleanvoidtick()Methods inherited from class net.minecraft.client.audio.TickableSound
isStopped, stopMethods inherited from class net.minecraft.client.audio.LocatableSound
getAttenuation, getDelay, getLocation, getPitch, getSound, getSource, getVolume, getX, getY, getZ, isLooping, isRelative, resolve, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.client.audio.ISound
getAttenuation, getDelay, getLocation, getPitch, getSound, getSource, getStream, getVolume, getX, getY, getZ, isLooping, isRelative, resolve
-
Field Details
-
bee
-
hasSwitched
private boolean hasSwitched
-
-
Constructor Details
-
BeeSound
-
-
Method Details
-
tick
public void tick() -
getMinPitch
private float getMinPitch() -
getMaxPitch
private float getMaxPitch() -
canStartSilent
public boolean canStartSilent() -
canPlaySound
public boolean canPlaySound() -
getAlternativeSoundInstance
-
shouldSwitchSounds
protected abstract boolean shouldSwitchSounds()
-