net.minecraft.client.soundpublic class MinecartInsideSoundInstance
extends EntityRidingSoundInstance
All mapped superinterfaces:
SoundInstance, TickableSoundInstance
| net.minecraft.client.resources.sounds.RidingMinecartSoundInstance |
| net.minecraft.client.resources.sounds.RidingMinecartSoundInstance |
| net.minecraft.class_1107 |
| net.minecraft.client.sound.MinecartInsideSoundInstance |
Field summary
| Modifier and Type | Field |
|---|
| private final PlayerEntity | | player | | player | | field_5457 | | player |
|
| private final AbstractMinecartEntity | | minecart | | minecart | | field_5456 | | minecart |
|
| private final boolean | | underwaterSound | | underwaterSound | | field_27773 | | underwater |
|
Constructor summary
Method summary
| Modifier and Type | Method |
|---|
| protected boolean | | shouldNotPlayUnderwaterSound() | | shouldNotPlayUnderwaterSound() | | method_75841() | | cannotPlayUnderwater() |
|
| protected float | | getEntitySpeed() | | getEntitySpeed() | | method_75842() | | getVehicleSpeed() |
|
| protected boolean | | shoudlPlaySound() | | shoudlPlaySound() | | method_75843() | | canPlaySound() |
|