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
-
Constructor Summary
ConstructorDescriptionBeeSound
(BeeEntity p_i226060_1_, SoundEvent p_i226060_2_, SoundCategory p_i226060_3_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
protected abstract TickableSound
private float
private float
protected abstract boolean
void
tick()
Methods inherited from class net.minecraft.client.audio.TickableSound
isStopped, stop
Methods inherited from class net.minecraft.client.audio.LocatableSound
getAttenuation, getDelay, getLocation, getPitch, getSound, getSource, getVolume, getX, getY, getZ, isLooping, isRelative, resolve, 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.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()
-