Package net.minecraft.client.sound
Class MovingMinecartSoundInstance
java.lang.Object
net.minecraft.client.sound.AbstractSoundInstance
net.minecraft.client.sound.MovingSoundInstance
net.minecraft.client.sound.MovingMinecartSoundInstance
- All Implemented Interfaces:
SoundInstance
,TickableSoundInstance
A sound instance played when a minecart is moving.
- Mappings:
Namespace Name official frh
intermediary net/minecraft/class_1108
named net/minecraft/client/sound/MovingMinecartSoundInstance
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType
-
Field Summary
Modifier and TypeFieldDescriptionprivate float
private static final float
private static final float
private static final float
private static final float
private static final float
private final AbstractMinecartEntity
Fields inherited from class net.minecraft.client.sound.AbstractSoundInstance
attenuationType, category, id, pitch, random, relative, repeat, repeatDelay, sound, volume, x, y, z
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.client.sound.MovingSoundInstance
isDone, setDone
Methods inherited from class net.minecraft.client.sound.AbstractSoundInstance
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isRelative, isRepeatable, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.client.sound.SoundInstance
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isRelative, isRepeatable
-
Field Details
-
field_33001
private static final float field_33001- See Also:
- Mappings:
Namespace Name Mixin selector official n
Lfrh;n:F
intermediary field_33001
Lnet/minecraft/class_1108;field_33001:F
named field_33001
Lnet/minecraft/client/sound/MovingMinecartSoundInstance;field_33001:F
-
field_33002
private static final float field_33002- See Also:
- Mappings:
Namespace Name Mixin selector official o
Lfrh;o:F
intermediary field_33002
Lnet/minecraft/class_1108;field_33002:F
named field_33002
Lnet/minecraft/client/sound/MovingMinecartSoundInstance;field_33002:F
-
field_33003
private static final float field_33003- See Also:
- Mappings:
Namespace Name Mixin selector official p
Lfrh;p:F
intermediary field_33003
Lnet/minecraft/class_1108;field_33003:F
named field_33003
Lnet/minecraft/client/sound/MovingMinecartSoundInstance;field_33003:F
-
field_33004
private static final float field_33004- See Also:
- Mappings:
Namespace Name Mixin selector official q
Lfrh;q:F
intermediary field_33004
Lnet/minecraft/class_1108;field_33004:F
named field_33004
Lnet/minecraft/client/sound/MovingMinecartSoundInstance;field_33004:F
-
field_33005
private static final float field_33005- See Also:
- Mappings:
Namespace Name Mixin selector official r
Lfrh;r:F
intermediary field_33005
Lnet/minecraft/class_1108;field_33005:F
named field_33005
Lnet/minecraft/client/sound/MovingMinecartSoundInstance;field_33005:F
-
minecart
- Mappings:
Namespace Name Mixin selector official s
Lfrh;s:Lbyg;
intermediary field_5458
Lnet/minecraft/class_1108;field_5458:Lnet/minecraft/class_1688;
named minecart
Lnet/minecraft/client/sound/MovingMinecartSoundInstance;minecart:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;
-
distance
private float distance- Mappings:
Namespace Name Mixin selector official t
Lfrh;t:F
intermediary field_5459
Lnet/minecraft/class_1108;field_5459:F
named distance
Lnet/minecraft/client/sound/MovingMinecartSoundInstance;distance:F
-
-
Constructor Details
-
MovingMinecartSoundInstance
- Mappings:
Namespace Name Mixin selector official <init>
Lfrh;<init>(Lbyg;)V
intermediary <init>
Lnet/minecraft/class_1108;<init>(Lnet/minecraft/class_1688;)V
named <init>
Lnet/minecraft/client/sound/MovingMinecartSoundInstance;<init>(Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;)V
-
-
Method Details
-
canPlay
public boolean canPlay()- Mappings:
Namespace Name Mixin selector official s
Lfrn;s()Z
intermediary method_26273
Lnet/minecraft/class_1113;method_26273()Z
named canPlay
Lnet/minecraft/client/sound/SoundInstance;canPlay()Z
-
shouldAlwaysPlay
public boolean shouldAlwaysPlay()- Mappings:
Namespace Name Mixin selector official r
Lfrn;r()Z
intermediary method_4785
Lnet/minecraft/class_1113;method_4785()Z
named shouldAlwaysPlay
Lnet/minecraft/client/sound/SoundInstance;shouldAlwaysPlay()Z
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official q
Lfro;q()V
intermediary method_16896
Lnet/minecraft/class_1117;method_16896()V
named tick
Lnet/minecraft/client/sound/TickableSoundInstance;tick()V
-