Package net.minecraft

Class class_2331

java.lang.Object
net.minecraft.class_2331
All Implemented Interfaces:
SpectatorMenuCommand

@Environment(CLIENT) class class_2331 extends Object implements SpectatorMenuCommand
Mappings:
Namespace Name
official cbc
intermediary net/minecraft/class_2331
named net/minecraft/class_2331
  • Field Details

    • field_10516

      private final Team field_10516
      Mappings:
      Namespace Name Mixin selector
      official b Lcbc;b:Lbrz;
      intermediary field_10516 Lnet/minecraft/class_2331;field_10516:Lnet/minecraft/class_1468;
      named field_10516 Lnet/minecraft/class_2331;field_10516:Lnet/minecraft/scoreboard/Team;
    • field_10517

      private final Identifier field_10517
      Mappings:
      Namespace Name Mixin selector
      official c Lcbc;c:Loa;
      intermediary field_10517 Lnet/minecraft/class_2331;field_10517:Lnet/minecraft/class_1653;
      named field_10517 Lnet/minecraft/class_2331;field_10517:Lnet/minecraft/util/Identifier;
    • field_10518

      private final List field_10518
      Mappings:
      Namespace Name Mixin selector
      official d Lcbc;d:Ljava/util/List;
      intermediary field_10518 Lnet/minecraft/class_2331;field_10518:Ljava/util/List;
      named field_10518 Lnet/minecraft/class_2331;field_10518:Ljava/util/List;
  • Constructor Details

  • Method Details

    • use

      public void use(SpectatorMenu menu)
      Specified by:
      use in interface SpectatorMenuCommand
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Lcar;)V
      intermediary method_9629 Lnet/minecraft/class_2326;method_9629(Lnet/minecraft/class_2322;)V
      named use Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;use(Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;)V
    • getName

      public Text getName()
      Specified by:
      getName in interface SpectatorMenuCommand
      Mappings:
      Namespace Name Mixin selector
      official z_ Lcaw;z_()Lho;
      intermediary method_9626 Lnet/minecraft/class_2326;method_9626()Lnet/minecraft/class_1982;
      named getName Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;getName()Lnet/minecraft/text/Text;
    • renderIcon

      public void renderIcon(float brightness, int alpha)
      Specified by:
      renderIcon in interface SpectatorMenuCommand
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(FI)V
      intermediary method_9628 Lnet/minecraft/class_2326;method_9628(FI)V
      named renderIcon Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;renderIcon(FI)V
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface SpectatorMenuCommand
      Mappings:
      Namespace Name Mixin selector
      official A_ Lcaw;A_()Z
      intermediary method_9627 Lnet/minecraft/class_2326;method_9627()Z
      named isEnabled Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;isEnabled()Z