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 - official - fxs- intermediary - net/minecraft/class_1107- named - net/minecraft/client/sound/MinecartInsideSoundInstance
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.client.sound.SoundInstanceSoundInstance.AttenuationType
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final floatprivate static final floatprivate final AbstractMinecartEntityprivate final PlayerEntityprivate final booleanFields inherited from class net.minecraft.client.sound.AbstractSoundInstanceattenuationType, category, id, pitch, random, relative, repeat, repeatDelay, sound, volume, x, y, z
- 
Constructor SummaryConstructorsConstructorDescriptionMinecartInsideSoundInstance(PlayerEntity player, AbstractMinecartEntity minecart, boolean underwater) 
- 
Method SummaryMethods inherited from class net.minecraft.client.sound.MovingSoundInstanceisDone, setDoneMethods inherited from class net.minecraft.client.sound.AbstractSoundInstancegetAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isRelative, isRepeatable, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.client.sound.SoundInstancegetAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isRelative, isRepeatable
- 
Field Details- 
field_33006private static final float field_33006- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - n- Lfxs;n:F- intermediary - field_33006- Lnet/minecraft/class_1107;field_33006:F- named - field_33006- Lnet/minecraft/client/sound/MinecartInsideSoundInstance;field_33006:F
 
- 
field_33007private static final float field_33007- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - o- Lfxs;o:F- intermediary - field_33007- Lnet/minecraft/class_1107;field_33007:F- named - field_33007- Lnet/minecraft/client/sound/MinecartInsideSoundInstance;field_33007:F
 
- 
player- Mappings:
- Namespace - Name - Mixin selector - official - p- Lfxs;p:Lbyo;- intermediary - field_5457- Lnet/minecraft/class_1107;field_5457:Lnet/minecraft/class_1657;- named - player- Lnet/minecraft/client/sound/MinecartInsideSoundInstance;player:Lnet/minecraft/entity/player/PlayerEntity;
 
- 
minecart- Mappings:
- Namespace - Name - Mixin selector - official - q- Lfxs;q:Lcaf;- intermediary - field_5456- Lnet/minecraft/class_1107;field_5456:Lnet/minecraft/class_1688;- named - minecart- Lnet/minecraft/client/sound/MinecartInsideSoundInstance;minecart:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;
 
- 
underwaterprivate final boolean underwater- Mappings:
- Namespace - Name - Mixin selector - official - r- Lfxs;r:Z- intermediary - field_27773- Lnet/minecraft/class_1107;field_27773:Z- named - underwater- Lnet/minecraft/client/sound/MinecartInsideSoundInstance;underwater:Z
 
 
- 
- 
Constructor Details- 
MinecartInsideSoundInstancepublic MinecartInsideSoundInstance(PlayerEntity player, AbstractMinecartEntity minecart, boolean underwater) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lfxs;<init>(Lbyo;Lcaf;Z)V- intermediary - <init>- Lnet/minecraft/class_1107;<init>(Lnet/minecraft/class_1657;Lnet/minecraft/class_1688;Z)V- named - <init>- Lnet/minecraft/client/sound/MinecartInsideSoundInstance;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;Z)V
 
 
- 
- 
Method Details- 
canPlaypublic boolean canPlay()- Mappings:
- Namespace - Name - Mixin selector - official - s- Lfxy;s()Z- intermediary - method_26273- Lnet/minecraft/class_1113;method_26273()Z- named - canPlay- Lnet/minecraft/client/sound/SoundInstance;canPlay()Z
 
- 
shouldAlwaysPlaypublic boolean shouldAlwaysPlay()- Mappings:
- Namespace - Name - Mixin selector - official - r- Lfxy;r()Z- intermediary - method_4785- Lnet/minecraft/class_1113;method_4785()Z- named - shouldAlwaysPlay- Lnet/minecraft/client/sound/SoundInstance;shouldAlwaysPlay()Z
 
- 
tickpublic void tick()- Mappings:
- Namespace - Name - Mixin selector - official - q- Lfxz;q()V- intermediary - method_16896- Lnet/minecraft/class_1117;method_16896()V- named - tick- Lnet/minecraft/client/sound/TickableSoundInstance;tick()V
 
 
-