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
official eug
intermediary net/minecraft/class_1107
named net/minecraft/client/sound/MinecartInsideSoundInstance
  • Field Details

    • player

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

      private final AbstractMinecartEntity minecart
      Mappings:
      Namespace Name Mixin selector
      official n Leug;n:Lbja;
      intermediary field_5456 Lnet/minecraft/class_1107;field_5456:Lnet/minecraft/class_1688;
      named minecart Lnet/minecraft/client/sound/MinecartInsideSoundInstance;minecart:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;
    • field_27773

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

    • MinecartInsideSoundInstance

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