Package net.minecraft.client.sound
Class EntityRidingSoundInstance
java.lang.Object
net.minecraft.client.sound.AbstractSoundInstance
net.minecraft.client.sound.MovingSoundInstance
net.minecraft.client.sound.EntityRidingSoundInstance
- All Implemented Interfaces:
SoundInstance,TickableSoundInstance
- Direct Known Subclasses:
MinecartInsideSoundInstance
- Mappings:
Namespace Name named net/minecraft/client/sound/EntityRidingSoundInstanceintermediary net/minecraft/class_11263official ipf
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final floatprivate final floatprivate final floatprivate final PlayerEntityprivate final EntityFields inherited from class net.minecraft.client.sound.AbstractSoundInstance
attenuationType, category, id, pitch, random, relative, repeat, repeatDelay, sound, volume, x, y, z -
Constructor Summary
ConstructorsConstructorDescriptionEntityRidingSoundInstance(PlayerEntity player, Entity vehicle, boolean forUnderwater, SoundEvent sound, SoundCategory category, float volume, float maxVolume, float multiplier) -
Method Summary
Methods inherited from class net.minecraft.client.sound.MovingSoundInstance
isDone, setDoneMethods inherited from class net.minecraft.client.sound.AbstractSoundInstance
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isRelative, isRepeatable, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.client.sound.SoundInstance
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isRelative, isRepeatable
-
Field Details
-
player
- Mappings:
Namespace Name Mixin selector named playerLnet/minecraft/client/sound/EntityRidingSoundInstance;player:Lnet/minecraft/entity/player/PlayerEntity;intermediary field_59987Lnet/minecraft/class_11263;field_59987:Lnet/minecraft/class_1657;official nLipf;n:Lddm;
-
vehicle
- Mappings:
Namespace Name Mixin selector named vehicleLnet/minecraft/client/sound/EntityRidingSoundInstance;vehicle:Lnet/minecraft/entity/Entity;intermediary field_63920Lnet/minecraft/class_11263;field_63920:Lnet/minecraft/class_1297;official oLipf;o:Lcgk;
-
forUnderwater
private final boolean forUnderwater- Mappings:
Namespace Name Mixin selector named forUnderwaterLnet/minecraft/client/sound/EntityRidingSoundInstance;forUnderwater:Zintermediary field_63921Lnet/minecraft/class_11263;field_63921:Zofficial pLipf;p:Z
-
minVolume
private final float minVolume- Mappings:
Namespace Name Mixin selector named minVolumeLnet/minecraft/client/sound/EntityRidingSoundInstance;minVolume:Fintermediary field_63922Lnet/minecraft/class_11263;field_63922:Fofficial qLipf;q:F
-
maxVolume
private final float maxVolume- Mappings:
Namespace Name Mixin selector named maxVolumeLnet/minecraft/client/sound/EntityRidingSoundInstance;maxVolume:Fintermediary field_63923Lnet/minecraft/class_11263;field_63923:Fofficial rLipf;r:F
-
multiplier
private final float multiplier- Mappings:
Namespace Name Mixin selector named multiplierLnet/minecraft/client/sound/EntityRidingSoundInstance;multiplier:Fintermediary field_63924Lnet/minecraft/class_11263;field_63924:Fofficial sLipf;s:F
-
-
Constructor Details
-
EntityRidingSoundInstance
public EntityRidingSoundInstance(PlayerEntity player, Entity vehicle, boolean forUnderwater, SoundEvent sound, SoundCategory category, float volume, float maxVolume, float multiplier) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/sound/EntityRidingSoundInstance;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/Entity;ZLnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFF)Vintermediary <init>Lnet/minecraft/class_11263;<init>(Lnet/minecraft/class_1657;Lnet/minecraft/class_1297;ZLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFF)Vofficial <init>Lipf;<init>(Lddm;Lcgk;ZLbcz;Lbdb;FFF)V
-
-
Method Details
-
canPlay
public boolean canPlay()- Mappings:
Namespace Name Mixin selector named canPlayLnet/minecraft/client/sound/SoundInstance;canPlay()Zintermediary method_26273Lnet/minecraft/class_1113;method_26273()Zofficial sLipm;s()Z
-
shouldAlwaysPlay
public boolean shouldAlwaysPlay()- Mappings:
Namespace Name Mixin selector named shouldAlwaysPlayLnet/minecraft/client/sound/SoundInstance;shouldAlwaysPlay()Zintermediary method_4785Lnet/minecraft/class_1113;method_4785()Zofficial rLipm;r()Z
-
cannotPlayUnderwater
protected boolean cannotPlayUnderwater()- Mappings:
Namespace Name Mixin selector named cannotPlayUnderwaterLnet/minecraft/client/sound/EntityRidingSoundInstance;cannotPlayUnderwater()Zintermediary method_75841Lnet/minecraft/class_11263;method_75841()Zofficial oLipf;o()Z
-
getVehicleSpeed
protected float getVehicleSpeed()- Mappings:
Namespace Name Mixin selector named getVehicleSpeedLnet/minecraft/client/sound/EntityRidingSoundInstance;getVehicleSpeed()Fintermediary method_75842Lnet/minecraft/class_11263;method_75842()Fofficial pLipf;p()F
-
canPlaySound
protected boolean canPlaySound()- Mappings:
Namespace Name Mixin selector named canPlaySoundLnet/minecraft/client/sound/EntityRidingSoundInstance;canPlaySound()Zintermediary method_75843Lnet/minecraft/class_11263;method_75843()Zofficial tLipf;t()Z
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/client/sound/TickableSoundInstance;tick()Vintermediary method_16896Lnet/minecraft/class_1117;method_16896()Vofficial qLipn;q()V
-