Package net.minecraft.client.audio
Class RidingMinecartTickableSound
- java.lang.Object
-
- net.minecraft.client.audio.LocatableSound
-
- net.minecraft.client.audio.TickableSound
-
- net.minecraft.client.audio.RidingMinecartTickableSound
-
- All Implemented Interfaces:
ISound
,ITickableSound
public class RidingMinecartTickableSound extends TickableSound
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.minecraft.client.audio.ISound
ISound.AttenuationType
-
-
Field Summary
Fields Modifier and Type Field Description private AbstractMinecartEntity
minecart
private PlayerEntity
player
-
Constructor Summary
Constructors Constructor Description RidingMinecartTickableSound(PlayerEntity p_i48613_1_, AbstractMinecartEntity p_i48613_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canPlaySound()
boolean
canStartSilent()
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 Detail
-
player
private final PlayerEntity player
-
minecart
private final AbstractMinecartEntity minecart
-
-
Constructor Detail
-
RidingMinecartTickableSound
public RidingMinecartTickableSound(PlayerEntity p_i48613_1_, AbstractMinecartEntity p_i48613_2_)
-
-