net.minecraft.client.soundpublic class EntityRidingSoundInstance
extends MovingSoundInstance
All mapped superinterfaces:
SoundInstance, TickableSoundInstance
| net.minecraft.client.resources.sounds.RidingEntitySoundInstance |
| net.minecraft.client.resources.sounds.RidingEntitySoundInstance |
| net.minecraft.class_11263 |
| net.minecraft.client.sound.EntityRidingSoundInstance |
Field summary
| Modifier and Type | Field |
|---|
| private final PlayerEntity | | player | | player | | field_59987 | | player |
|
| private final Entity | | entity | | entity | | field_63920 | | vehicle |
|
| private final boolean | | underwaterSound | | underwaterSound | | field_63921 | | forUnderwater |
|
| private final float | | volumeMin | | volumeMin | | field_63922 | | minVolume |
|
| private final float | | volumeMax | | volumeMax | | field_63923 | | maxVolume |
|
| private final float | | volumeAmplifier | | volumeAmplifier | | field_63924 | | multiplier |
|
Constructor summary
Method summary
| Modifier and Type | Method |
|---|
| public boolean | | canPlaySound() | | canPlaySound() | | method_26273() | | canPlay() |
|
| public boolean | | canStartSilent() | | canStartSilent() | | method_4785() | | shouldAlwaysPlay() |
|
| protected boolean | | shouldNotPlayUnderwaterSound() | | shouldNotPlayUnderwaterSound() | | method_75841() | | cannotPlayUnderwater() |
|
| protected float | | getEntitySpeed() | | getEntitySpeed() | | method_75842() | | getVehicleSpeed() |
|
| protected boolean | | shoudlPlaySound() | | shoudlPlaySound() | | method_75843() | | canPlaySound() |
|
| public void | | tick() | | tick() | | method_16896() | | tick() |
|