Class MinecartSoundInstance
java.lang.Object
net.minecraft.client.resources.sounds.AbstractSoundInstance
net.minecraft.client.resources.sounds.AbstractTickableSoundInstance
net.minecraft.client.resources.sounds.MinecartSoundInstance
- All Implemented Interfaces:
SoundInstance
,TickableSoundInstance
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.resources.sounds.SoundInstance
SoundInstance.Attenuation
-
Field Summary
Modifier and TypeFieldDescriptionprivate AbstractMinecart
private float
private static float
private static float
private static float
private static float
private static float
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.client.resources.sounds.AbstractTickableSoundInstance
isStopped, stop
Methods inherited from class net.minecraft.client.resources.sounds.AbstractSoundInstance
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.resources.sounds.SoundInstance
getAttenuation, getDelay, getLocation, getPitch, getSound, getSource, getVolume, getX, getY, getZ, isLooping, isRelative, resolve
-
Field Details
-
VOLUME_MIN
private static final float VOLUME_MIN- See Also:
- Constant Field Values
-
VOLUME_MAX
private static final float VOLUME_MAX- See Also:
- Constant Field Values
-
PITCH_MIN
private static final float PITCH_MIN- See Also:
- Constant Field Values
-
PITCH_MAX
private static final float PITCH_MAX- See Also:
- Constant Field Values
-
PITCH_DELTA
private static final float PITCH_DELTA- See Also:
- Constant Field Values
-
minecart
-
pitch
private float pitch
-
-
Constructor Details
-
MinecartSoundInstance
-
-
Method Details
-
canPlaySound
public boolean canPlaySound() -
canStartSilent
public boolean canStartSilent() -
tick
public void tick()
-