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 fvy
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 Lfvy;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 Lfvy;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 Lfvy;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 Lfvy;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 Lfvy;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 Lfvy;s:Lcad;
      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 Lfvy;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> Lfvy;<init>(Lcad;)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 Lfwf;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 Lfwf;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 Lfwg;q()V
      intermediary method_16896 Lnet/minecraft/class_1117;method_16896()V
      named tick Lnet/minecraft/client/sound/TickableSoundInstance;tick()V