Class SpectatorMenuState

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

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

    • field_32444

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

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

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

    • SpectatorMenuState

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

    • getCommand

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

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