Class SpectatorMenuState

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

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

    • commands

      private final List<SpectatorMenuCommand> commands
      Mappings:
      Namespace Name Mixin selector
      official a Ldzi;a: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 b Ldzi;b: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> Ldzi;<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 Ldzi;a(I)Ldzg;
      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 Ldzi;a()I
      intermediary method_2787 Lnet/minecraft/class_539;method_2787()I
      named getSelectedSlot Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuState;getSelectedSlot()I