Package net.minecraft.client.sound
Class MinecartInsideSoundInstance
java.lang.Object
net.minecraft.client.sound.AbstractSoundInstance
net.minecraft.client.sound.MovingSoundInstance
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 gtu
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final floatprivate static final floatprivate 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) -
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
-
field_33006
private static final float field_33006- See Also:
- Mappings:
Namespace Name Mixin selector named field_33006Lnet/minecraft/client/sound/MinecartInsideSoundInstance;field_33006:Fintermediary field_33006Lnet/minecraft/class_1107;field_33006:Fofficial nLgtu;n:F
-
field_33007
private static final float field_33007- See Also:
- Mappings:
Namespace Name Mixin selector named field_33007Lnet/minecraft/client/sound/MinecartInsideSoundInstance;field_33007:Fintermediary field_33007Lnet/minecraft/class_1107;field_33007:Fofficial oLgtu;o:F
-
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 pLgtu;p:Lcmx;
-
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 qLgtu;q:Lcot;
-
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 rLgtu;r:Z
-
-
Constructor Details
-
MinecartInsideSoundInstance
public MinecartInsideSoundInstance(PlayerEntity player, AbstractMinecartEntity minecart, boolean underwater) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/sound/MinecartInsideSoundInstance;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;Z)Vintermediary <init>Lnet/minecraft/class_1107;<init>(Lnet/minecraft/class_1657;Lnet/minecraft/class_1688;Z)Vofficial <init>Lgtu;<init>(Lcmx;Lcot;Z)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 sLgua;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 rLgua;r()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 qLgub;q()V
-