net.minecraft.client.sound

public class EntityRidingSoundInstance

extends MovingSoundInstance

All mapped superinterfaces:

SoundInstance, TickableSoundInstance

net.minecraft.client.resources.sounds.RidingEntitySoundInstance
net.minecraft.class_11263
net.minecraft.client.sound.EntityRidingSoundInstance

Field summary

Modifier and TypeField
private final PlayerEntity
player
field_59987
player
private final Entity
entity
field_63920
vehicle
private final boolean
underwaterSound
field_63921
forUnderwater
private final float
volumeMin
field_63922
minVolume
private final float
volumeMax
field_63923
maxVolume
private final float
volumeAmplifier
field_63924
multiplier

Constructor summary

ModifierConstructor
public (PlayerEntity player, Entity vehicle, boolean forUnderwater, SoundEvent sound, SoundCategory category, float volume, float maxVolume, float multiplier)

Method summary

Modifier and TypeMethod
public boolean
canPlaySound()
method_26273()
canPlay()
public boolean
canStartSilent()
method_4785()
shouldAlwaysPlay()
protected boolean
shouldNotPlayUnderwaterSound()
method_75841()
cannotPlayUnderwater()
protected float
getEntitySpeed()
method_75842()
getVehicleSpeed()
protected boolean
shoudlPlaySound()
method_75843()
canPlaySound()
public void
tick()
method_16896()
tick()