Package net.minecraft.client.sound
Class MinecartInsideSoundInstance
java.lang.Object
net.minecraft.client.sound.AbstractSoundInstance
net.minecraft.client.sound.MovingSoundInstance
net.minecraft.client.sound.EntityRidingSoundInstance
net.minecraft.client.sound.MinecartInsideSoundInstance
- All Implemented Interfaces:
SoundInstance,TickableSoundInstance
A sound instance played when a player is riding a minecart.
- Mappings:
Namespace Name named net/minecraft/client/sound/MinecartInsideSoundInstanceintermediary net/minecraft/class_1107official ipg
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AbstractMinecartEntityprivate final PlayerEntityprivate final booleanFields inherited from class net.minecraft.client.sound.AbstractSoundInstance
attenuationType, category, id, pitch, random, relative, repeat, repeatDelay, sound, volume, x, y, z -
Constructor Summary
ConstructorsConstructorDescriptionMinecartInsideSoundInstance(PlayerEntity player, AbstractMinecartEntity minecart, boolean underwater, SoundEvent sound, float minVolume, float maxVolume, float multiplier) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected booleanprotected floatMethods inherited from class net.minecraft.client.sound.EntityRidingSoundInstance
canPlay, shouldAlwaysPlay, tickMethods 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/MinecartInsideSoundInstance;player:Lnet/minecraft/entity/player/PlayerEntity;intermediary field_5457Lnet/minecraft/class_1107;field_5457:Lnet/minecraft/class_1657;official nLipg;n:Lddm;
-
minecart
- Mappings:
Namespace Name Mixin selector named minecartLnet/minecraft/client/sound/MinecartInsideSoundInstance;minecart:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;intermediary field_5456Lnet/minecraft/class_1107;field_5456:Lnet/minecraft/class_1688;official oLipg;o:Ldgi;
-
underwater
private final boolean underwater- Mappings:
Namespace Name Mixin selector named underwaterLnet/minecraft/client/sound/MinecartInsideSoundInstance;underwater:Zintermediary field_27773Lnet/minecraft/class_1107;field_27773:Zofficial pLipg;p:Z
-
-
Constructor Details
-
MinecartInsideSoundInstance
public MinecartInsideSoundInstance(PlayerEntity player, AbstractMinecartEntity minecart, boolean underwater, SoundEvent sound, float minVolume, float maxVolume, float multiplier) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/sound/MinecartInsideSoundInstance;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;ZLnet/minecraft/sound/SoundEvent;FFF)Vintermediary <init>Lnet/minecraft/class_1107;<init>(Lnet/minecraft/class_1657;Lnet/minecraft/class_1688;ZLnet/minecraft/class_3414;FFF)Vofficial <init>Lipg;<init>(Lddm;Ldgi;ZLbcz;FFF)V
-
-
Method Details
-
cannotPlayUnderwater
protected boolean cannotPlayUnderwater()- Overrides:
cannotPlayUnderwaterin classEntityRidingSoundInstance- 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()- Overrides:
getVehicleSpeedin classEntityRidingSoundInstance- 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()- Overrides:
canPlaySoundin classEntityRidingSoundInstance- Mappings:
Namespace Name Mixin selector named canPlaySoundLnet/minecraft/client/sound/EntityRidingSoundInstance;canPlaySound()Zintermediary method_75843Lnet/minecraft/class_11263;method_75843()Zofficial tLipf;t()Z
-