Class MovingMinecartSoundInstance

All Implemented Interfaces:
SoundInstance, TickableSoundInstance

@Environment(CLIENT) public class MovingMinecartSoundInstance extends MovingSoundInstance
A sound instance played when a minecart is moving.
Mappings:
Namespace Name
official fkq
intermediary net/minecraft/class_1108
named net/minecraft/client/sound/MovingMinecartSoundInstance
  • Field Details

    • field_33001

      private static final float field_33001
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official n Lfkq;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 Lfkq;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 Lfkq;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 Lfkq;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 Lfkq;r:F
      intermediary field_33005 Lnet/minecraft/class_1108;field_33005:F
      named field_33005 Lnet/minecraft/client/sound/MovingMinecartSoundInstance;field_33005:F
    • minecart

      private final AbstractMinecartEntity minecart
      Mappings:
      Namespace Name Mixin selector
      official s Lfkq;s:Lbuw;
      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 Lfkq;t:F
      intermediary field_5459 Lnet/minecraft/class_1108;field_5459:F
      named distance Lnet/minecraft/client/sound/MovingMinecartSoundInstance;distance:F
  • Constructor Details

    • MovingMinecartSoundInstance

      public MovingMinecartSoundInstance(AbstractMinecartEntity minecart)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfkq;<init>(Lbuw;)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 Lfkw;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 Lfkw;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 Lfkx;q()V
      intermediary method_16896 Lnet/minecraft/class_1117;method_16896()V
      named tick Lnet/minecraft/client/sound/TickableSoundInstance;tick()V