public class VehicleSound extends EntitySound<VehicleEntity>
entity, predicate| Constructor and Description |
|---|
VehicleSound(VehicleEntity entity,
net.minecraft.util.SoundEvent vehicleMove) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRepeat() |
float |
getPitch() |
float |
getVolume() |
setFinished, updatecreateAccessor, getAttenuationType, getCategory, getRepeatDelay, getSound, getSoundLocation, getXPosF, getYPosF, getZPosFpublic VehicleSound(VehicleEntity entity, net.minecraft.util.SoundEvent vehicleMove)
public boolean canRepeat()
canRepeat in interface net.minecraft.client.audio.ISoundcanRepeat in class net.minecraft.client.audio.PositionedSoundpublic float getVolume()
getVolume in interface net.minecraft.client.audio.ISoundgetVolume in class net.minecraft.client.audio.PositionedSoundpublic float getPitch()
getPitch in interface net.minecraft.client.audio.ISoundgetPitch in class net.minecraft.client.audio.PositionedSound