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
named net/minecraft/client/sound/MovingMinecartSoundInstance
intermediary net/minecraft/class_1108
official hfa
  • Field Details

    • field_33001

      private static final float field_33001
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33001 Lnet/minecraft/client/sound/MovingMinecartSoundInstance;field_33001:F
      intermediary field_33001 Lnet/minecraft/class_1108;field_33001:F
      official n Lhfa;n:F
    • field_33002

      private static final float field_33002
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33002 Lnet/minecraft/client/sound/MovingMinecartSoundInstance;field_33002:F
      intermediary field_33002 Lnet/minecraft/class_1108;field_33002:F
      official o Lhfa;o:F
    • field_33003

      private static final float field_33003
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33003 Lnet/minecraft/client/sound/MovingMinecartSoundInstance;field_33003:F
      intermediary field_33003 Lnet/minecraft/class_1108;field_33003:F
      official p Lhfa;p:F
    • field_33004

      private static final float field_33004
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33004 Lnet/minecraft/client/sound/MovingMinecartSoundInstance;field_33004:F
      intermediary field_33004 Lnet/minecraft/class_1108;field_33004:F
      official q Lhfa;q:F
    • field_33005

      private static final float field_33005
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33005 Lnet/minecraft/client/sound/MovingMinecartSoundInstance;field_33005:F
      intermediary field_33005 Lnet/minecraft/class_1108;field_33005:F
      official r Lhfa;r:F
    • minecart

      private final AbstractMinecartEntity minecart
      Mappings:
      Namespace Name Mixin selector
      named minecart Lnet/minecraft/client/sound/MovingMinecartSoundInstance;minecart:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;
      intermediary field_5458 Lnet/minecraft/class_1108;field_5458:Lnet/minecraft/class_1688;
      official s Lhfa;s:Lcrv;
    • distance

      private float distance
      Mappings:
      Namespace Name Mixin selector
      named distance Lnet/minecraft/client/sound/MovingMinecartSoundInstance;distance:F
      intermediary field_5459 Lnet/minecraft/class_1108;field_5459:F
      official t Lhfa;t:F
  • Constructor Details

    • MovingMinecartSoundInstance

      public MovingMinecartSoundInstance(AbstractMinecartEntity minecart)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/sound/MovingMinecartSoundInstance;<init>(Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;)V
      intermediary <init> Lnet/minecraft/class_1108;<init>(Lnet/minecraft/class_1688;)V
      official <init> Lhfa;<init>(Lcrv;)V
  • Method Details

    • canPlay

      public boolean canPlay()
      Mappings:
      Namespace Name Mixin selector
      named canPlay Lnet/minecraft/client/sound/SoundInstance;canPlay()Z
      intermediary method_26273 Lnet/minecraft/class_1113;method_26273()Z
      official s Lhfh;s()Z
    • shouldAlwaysPlay

      public boolean shouldAlwaysPlay()
      Mappings:
      Namespace Name Mixin selector
      named shouldAlwaysPlay Lnet/minecraft/client/sound/SoundInstance;shouldAlwaysPlay()Z
      intermediary method_4785 Lnet/minecraft/class_1113;method_4785()Z
      official r Lhfh;r()Z
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/client/sound/TickableSoundInstance;tick()V
      intermediary method_16896 Lnet/minecraft/class_1117;method_16896()V
      official q Lhfi;q()V