public class VehicleSound extends EntitySound<CarEntity>
entity, predicate| Constructor and Description |
|---|
VehicleSound(CarEntity 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(CarEntity 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