public class MovingSoundMinecart extends MovingSound
ISound.AttenuationType
Modifier and Type | Field and Description |
---|---|
private float |
distance |
private EntityMinecart |
minecart |
donePlaying
attenuationType, pitch, positionedSoundLocation, repeat, repeatDelay, volume, xPosF, yPosF, zPosF
Constructor and Description |
---|
MovingSoundMinecart(EntityMinecart minecartIn) |
Modifier and Type | Method and Description |
---|---|
void |
update()
Like the old updateEntity(), except more generic.
|
isDonePlaying
canRepeat, getAttenuationType, getPitch, getRepeatDelay, getSoundLocation, getVolume, getXPosF, getYPosF, getZPosF
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canRepeat, getAttenuationType, getPitch, getRepeatDelay, getSoundLocation, getVolume, getXPosF, getYPosF, getZPosF
private final EntityMinecart minecart
private float distance
public MovingSoundMinecart(EntityMinecart minecartIn)