@Environment(value=CLIENT) public class MinecartInsideSoundInstance extends MovingSoundInstance
SoundInstance.AttenuationType| Modifier and Type | Field and Description |
|---|---|
private AbstractMinecartEntity |
minecart |
private PlayerEntity |
player |
attenuationType, category, field_18935, id, looping, pitch, repeat, repeatDelay, sound, volume, x, y, z| Constructor and Description |
|---|
MinecartInsideSoundInstance(PlayerEntity player,
AbstractMinecartEntity minecart) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPlay() |
boolean |
shouldAlwaysPlay() |
void |
tick() |
isDone, setDonegetAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatableprivate final PlayerEntity player
private final AbstractMinecartEntity minecart
public MinecartInsideSoundInstance(PlayerEntity player, AbstractMinecartEntity minecart)