类 BeeSoundInstance
java.lang.Object
net.minecraft.client.resources.sounds.AbstractSoundInstance
net.minecraft.client.resources.sounds.AbstractTickableSoundInstance
net.minecraft.client.resources.sounds.BeeSoundInstance
- 所有已实现的接口:
SoundInstance
,TickableSoundInstance
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.client.resources.sounds.SoundInstance
SoundInstance.Attenuation
-
字段概要
字段修饰符和类型字段说明protected final Bee
private boolean
private static final float
private static final float
private static final float
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
boolean
protected abstract AbstractTickableSoundInstance
private float
private float
protected abstract boolean
void
tick()
从类继承的方法 net.minecraft.client.resources.sounds.AbstractTickableSoundInstance
isStopped, stop
从类继承的方法 net.minecraft.client.resources.sounds.AbstractSoundInstance
getAttenuation, getDelay, getLocation, getPitch, getSound, getSource, getVolume, getX, getY, getZ, isLooping, isRelative, resolve, toString
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从接口继承的方法 net.minecraft.client.resources.sounds.SoundInstance
getAttenuation, getDelay, getLocation, getPitch, getSound, getSource, getStream, getVolume, getX, getY, getZ, isLooping, isRelative, resolve
-
字段详细资料
-
VOLUME_MIN
private static final float VOLUME_MIN- 另请参阅:
-
VOLUME_MAX
private static final float VOLUME_MAX- 另请参阅:
-
PITCH_MIN
private static final float PITCH_MIN- 另请参阅:
-
bee
-
hasSwitched
private boolean hasSwitched
-
-
构造器详细资料
-
BeeSoundInstance
-
-
方法详细资料
-
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()
-