Class MinecartInsideSoundInstance

All Implemented Interfaces:
SoundInstance, TickableSoundInstance

@Environment(CLIENT) public class MinecartInsideSoundInstance extends MovingSoundInstance
A sound instance played when a player is riding a minecart.
Mappings:
Namespace Name
named net/minecraft/client/sound/MinecartInsideSoundInstance
intermediary net/minecraft/class_1107
official hfb
  • Field Details

    • field_33006

      private static final float field_33006
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33006 Lnet/minecraft/client/sound/MinecartInsideSoundInstance;field_33006:F
      intermediary field_33006 Lnet/minecraft/class_1107;field_33006:F
      official n Lhfb;n:F
    • field_33007

      private static final float field_33007
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33007 Lnet/minecraft/client/sound/MinecartInsideSoundInstance;field_33007:F
      intermediary field_33007 Lnet/minecraft/class_1107;field_33007:F
      official o Lhfb;o:F
    • player

      private final PlayerEntity player
      Mappings:
      Namespace Name Mixin selector
      named player Lnet/minecraft/client/sound/MinecartInsideSoundInstance;player:Lnet/minecraft/entity/player/PlayerEntity;
      intermediary field_5457 Lnet/minecraft/class_1107;field_5457:Lnet/minecraft/class_1657;
      official p Lhfb;p:Lcpw;
    • minecart

      private final AbstractMinecartEntity minecart
      Mappings:
      Namespace Name Mixin selector
      named minecart Lnet/minecraft/client/sound/MinecartInsideSoundInstance;minecart:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;
      intermediary field_5456 Lnet/minecraft/class_1107;field_5456:Lnet/minecraft/class_1688;
      official q Lhfb;q:Lcrv;
    • underwater

      private final boolean underwater
      Mappings:
      Namespace Name Mixin selector
      named underwater Lnet/minecraft/client/sound/MinecartInsideSoundInstance;underwater:Z
      intermediary field_27773 Lnet/minecraft/class_1107;field_27773:Z
      official r Lhfb;r:Z
  • Constructor Details

    • MinecartInsideSoundInstance

      public MinecartInsideSoundInstance(PlayerEntity player, AbstractMinecartEntity minecart, boolean underwater)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/sound/MinecartInsideSoundInstance;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;Z)V
      intermediary <init> Lnet/minecraft/class_1107;<init>(Lnet/minecraft/class_1657;Lnet/minecraft/class_1688;Z)V
      official <init> Lhfb;<init>(Lcpw;Lcrv;Z)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