Class SpectatorMenu.ChangePageSpectatorMenuCommand

java.lang.Object
net.minecraft.client.gui.hud.spectator.SpectatorMenu.ChangePageSpectatorMenuCommand
All Implemented Interfaces:
SpectatorMenuCommand
Enclosing class:
SpectatorMenu

@Environment(CLIENT) private static class SpectatorMenu.ChangePageSpectatorMenuCommand extends Object implements SpectatorMenuCommand
Mappings:
Namespace Name
named net/minecraft/client/gui/hud/spectator/SpectatorMenu$ChangePageSpectatorMenuCommand
intermediary net/minecraft/class_531$class_533
official fzo$b
  • Field Details

    • direction

      private final int direction
      Mappings:
      Namespace Name Mixin selector
      named direction Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu$ChangePageSpectatorMenuCommand;direction:I
      intermediary field_3264 Lnet/minecraft/class_531$class_533;field_3264:I
      official a Lfzo$b;a:I
    • enabled

      private final boolean enabled
      Mappings:
      Namespace Name Mixin selector
      named enabled Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu$ChangePageSpectatorMenuCommand;enabled:Z
      intermediary field_3265 Lnet/minecraft/class_531$class_533;field_3265:Z
      official b Lfzo$b;b:Z
  • Constructor Details

    • ChangePageSpectatorMenuCommand

      public ChangePageSpectatorMenuCommand(int direction, boolean enabled)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu$ChangePageSpectatorMenuCommand;<init>(IZ)V
      intermediary <init> Lnet/minecraft/class_531$class_533;<init>(IZ)V
      official <init> Lfzo$b;<init>(IZ)V
  • Method Details

    • use

      public void use(SpectatorMenu menu)
      Specified by:
      use in interface SpectatorMenuCommand
      Mappings:
      Namespace Name Mixin selector
      named use Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;use(Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;)V
      intermediary method_2783 Lnet/minecraft/class_537;method_2783(Lnet/minecraft/class_531;)V
      official a Lfzq;a(Lfzo;)V
    • getName

      public Text getName()
      Specified by:
      getName in interface SpectatorMenuCommand
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;getName()Lnet/minecraft/text/Text;
      intermediary method_16892 Lnet/minecraft/class_537;method_16892()Lnet/minecraft/class_2561;
      official aU_ Lfzq;aU_()Lxv;
    • renderIcon

      public void renderIcon(DrawContext context, float brightness, float alpha)
      Specified by:
      renderIcon in interface SpectatorMenuCommand
      Mappings:
      Namespace Name Mixin selector
      named renderIcon Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;renderIcon(Lnet/minecraft/client/gui/DrawContext;FF)V
      intermediary method_2784 Lnet/minecraft/class_537;method_2784(Lnet/minecraft/class_332;FF)V
      official a Lfzq;a(Lfnr;FF)V
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface SpectatorMenuCommand
      Mappings:
      Namespace Name Mixin selector
      named isEnabled Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;isEnabled()Z
      intermediary method_16893 Lnet/minecraft/class_537;method_16893()Z
      official aV_ Lfzq;aV_()Z