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

    • minecart

      private final AbstractMinecartEntity minecart
      Mappings:
      Namespace Name Mixin selector
      official m Leuf;m:Lbja;
      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 n Leuf;n: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> Leuf;<init>(Lbja;)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 Leul;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 Leul;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 Leum;q()V
      intermediary method_16896 Lnet/minecraft/class_1117;method_16896()V
      named tick Lnet/minecraft/client/sound/TickableSoundInstance;tick()V