Class SpectatorMenuState

java.lang.Object
net.minecraft.client.gui.hud.spectator.SpectatorMenuState

@Environment(CLIENT) public class SpectatorMenuState extends Object
Mappings:
Namespace Name
named net/minecraft/client/gui/hud/spectator/SpectatorMenuState
intermediary net/minecraft/class_539
official ftp
  • Field Details

    • field_32444

      public static final int field_32444
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32444 Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuState;field_32444:I
      intermediary field_32444 Lnet/minecraft/class_539;field_32444:I
      official a Lftp;a:I
    • commands

      private final List<SpectatorMenuCommand> commands
      Mappings:
      Namespace Name Mixin selector
      named commands Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuState;commands:Ljava/util/List;
      intermediary field_3271 Lnet/minecraft/class_539;field_3271:Ljava/util/List;
      official b Lftp;b:Ljava/util/List;
    • selectedSlot

      private final int selectedSlot
      Mappings:
      Namespace Name Mixin selector
      named selectedSlot Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuState;selectedSlot:I
      intermediary field_3269 Lnet/minecraft/class_539;field_3269:I
      official c Lftp;c:I
  • Constructor Details

    • SpectatorMenuState

      public SpectatorMenuState(List<SpectatorMenuCommand> commands, int selectedSlot)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuState;<init>(Ljava/util/List;I)V
      intermediary <init> Lnet/minecraft/class_539;<init>(Ljava/util/List;I)V
      official <init> Lftp;<init>(Ljava/util/List;I)V
  • Method Details

    • getCommand

      public SpectatorMenuCommand getCommand(int slot)
      Mappings:
      Namespace Name Mixin selector
      named getCommand Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuState;getCommand(I)Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;
      intermediary method_2786 Lnet/minecraft/class_539;method_2786(I)Lnet/minecraft/class_537;
      official a Lftp;a(I)Lftn;
    • getSelectedSlot

      public int getSelectedSlot()
      Mappings:
      Namespace Name Mixin selector
      named getSelectedSlot Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuState;getSelectedSlot()I
      intermediary method_2787 Lnet/minecraft/class_539;method_2787()I
      official a Lftp;a()I