net.minecraft.client.sound

public class MinecartInsideSoundInstance

extends EntityRidingSoundInstance

All mapped superinterfaces:

SoundInstance, TickableSoundInstance

net.minecraft.client.resources.sounds.RidingMinecartSoundInstance
net.minecraft.class_1107
net.minecraft.client.sound.MinecartInsideSoundInstance

Field summary

Modifier and TypeField
private final PlayerEntity
player
field_5457
player
private final AbstractMinecartEntity
minecart
field_5456
minecart
private final boolean
underwaterSound
field_27773
underwater

Constructor summary

ModifierConstructor
public (PlayerEntity player, AbstractMinecartEntity minecart, boolean underwater, SoundEvent sound, float minVolume, float maxVolume, float multiplier)

Method summary

Modifier and TypeMethod
protected boolean
shouldNotPlayUnderwaterSound()
method_75841()
cannotPlayUnderwater()
protected float
getEntitySpeed()
method_75842()
getVehicleSpeed()
protected boolean
shoudlPlaySound()
method_75843()
canPlaySound()