Enum Class GameModeSelectionScreen.GameModeSelection

java.lang.Object
java.lang.Enum<GameModeSelectionScreen.GameModeSelection>
net.minecraft.client.gui.screen.GameModeSelectionScreen.GameModeSelection
All Implemented Interfaces:
Serializable, Comparable<GameModeSelectionScreen.GameModeSelection>, Constable
Enclosing class:
GameModeSelectionScreen

@Environment(CLIENT) private static enum GameModeSelectionScreen.GameModeSelection extends Enum<GameModeSelectionScreen.GameModeSelection>
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection
intermediary net/minecraft/class_5289$class_5290
official fuy$a
  • Enum Constant Details Link icon

    • CREATIVE Link icon

      public static final GameModeSelectionScreen.GameModeSelection CREATIVE
      Mappings:
      Namespace Name Mixin selector
      named CREATIVE Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;CREATIVE:Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;
      intermediary field_24576 Lnet/minecraft/class_5289$class_5290;field_24576:Lnet/minecraft/class_5289$class_5290;
      official a Lfuy$a;a:Lfuy$a;
    • SURVIVAL Link icon

      public static final GameModeSelectionScreen.GameModeSelection SURVIVAL
      Mappings:
      Namespace Name Mixin selector
      named SURVIVAL Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;SURVIVAL:Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;
      intermediary field_24577 Lnet/minecraft/class_5289$class_5290;field_24577:Lnet/minecraft/class_5289$class_5290;
      official b Lfuy$a;b:Lfuy$a;
    • ADVENTURE Link icon

      public static final GameModeSelectionScreen.GameModeSelection ADVENTURE
      Mappings:
      Namespace Name Mixin selector
      named ADVENTURE Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;ADVENTURE:Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;
      intermediary field_24578 Lnet/minecraft/class_5289$class_5290;field_24578:Lnet/minecraft/class_5289$class_5290;
      official c Lfuy$a;c:Lfuy$a;
    • SPECTATOR Link icon

      public static final GameModeSelectionScreen.GameModeSelection SPECTATOR
      Mappings:
      Namespace Name Mixin selector
      named SPECTATOR Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;SPECTATOR:Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;
      intermediary field_24579 Lnet/minecraft/class_5289$class_5290;field_24579:Lnet/minecraft/class_5289$class_5290;
      official d Lfuy$a;d:Lfuy$a;
  • Field Details Link icon

    • VALUES Link icon

      protected static final GameModeSelectionScreen.GameModeSelection[] VALUES
      Mappings:
      Namespace Name Mixin selector
      named VALUES Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;VALUES:[Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;
      intermediary field_24580 Lnet/minecraft/class_5289$class_5290;field_24580:[Lnet/minecraft/class_5289$class_5290;
      official e Lfuy$a;e:[Lfuy$a;
    • field_32317 Link icon

      private static final int field_32317
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32317 Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;field_32317:I
      intermediary field_32317 Lnet/minecraft/class_5289$class_5290;field_32317:I
      official j Lfuy$a;j:I
    • field_32316 Link icon

      protected static final int field_32316
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32316 Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;field_32316:I
      intermediary field_32316 Lnet/minecraft/class_5289$class_5290;field_32316:I
      official f Lfuy$a;f:I
    • text Link icon

      final Text text
      Mappings:
      Namespace Name Mixin selector
      named text Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;text:Lnet/minecraft/text/Text;
      intermediary field_24581 Lnet/minecraft/class_5289$class_5290;field_24581:Lnet/minecraft/class_2561;
      official g Lfuy$a;g:Lwp;
    • command Link icon

      final String command
      Mappings:
      Namespace Name Mixin selector
      named command Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;command:Ljava/lang/String;
      intermediary field_24582 Lnet/minecraft/class_5289$class_5290;field_24582:Ljava/lang/String;
      official h Lfuy$a;h:Ljava/lang/String;
    • icon Link icon

      final ItemStack icon
      Mappings:
      Namespace Name Mixin selector
      named icon Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;icon:Lnet/minecraft/item/ItemStack;
      intermediary field_24583 Lnet/minecraft/class_5289$class_5290;field_24583:Lnet/minecraft/class_1799;
      official i Lfuy$a;i:Lcwq;
  • Constructor Details Link icon

    • GameModeSelection Link icon

      private GameModeSelection(Text text, String command, ItemStack icon)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;<init>(Ljava/lang/String;ILnet/minecraft/text/Text;Ljava/lang/String;Lnet/minecraft/item/ItemStack;)V
      intermediary <init> Lnet/minecraft/class_5289$class_5290;<init>(Ljava/lang/String;ILnet/minecraft/class_2561;Ljava/lang/String;Lnet/minecraft/class_1799;)V
      official <init> Lfuy$a;<init>(Ljava/lang/String;ILwp;Ljava/lang/String;Lcwq;)V
  • Method Details Link icon

    • values Link icon

      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf Link icon

      public static GameModeSelectionScreen.GameModeSelection valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • renderIcon Link icon

      void renderIcon(DrawContext context, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named renderIcon Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;renderIcon(Lnet/minecraft/client/gui/DrawContext;II)V
      intermediary method_28074 Lnet/minecraft/class_5289$class_5290;method_28074(Lnet/minecraft/class_332;II)V
      official a Lfuy$a;a(Lfof;II)V
    • getText Link icon

      Text getText()
      Mappings:
      Namespace Name Mixin selector
      named getText Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;getText()Lnet/minecraft/text/Text;
      intermediary method_28070 Lnet/minecraft/class_5289$class_5290;method_28070()Lnet/minecraft/class_2561;
      official a Lfuy$a;a()Lwp;
    • getCommand Link icon

      String getCommand()
      Mappings:
      Namespace Name Mixin selector
      named getCommand Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;getCommand()Ljava/lang/String;
      intermediary method_28075 Lnet/minecraft/class_5289$class_5290;method_28075()Ljava/lang/String;
      official b Lfuy$a;b()Ljava/lang/String;
    • next Link icon

      Mappings:
      Namespace Name Mixin selector
      named next Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;next()Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;
      intermediary method_28078 Lnet/minecraft/class_5289$class_5290;method_28078()Lnet/minecraft/class_5289$class_5290;
      official c Lfuy$a;c()Lfuy$a;
    • of Link icon

      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;of(Lnet/minecraft/world/GameMode;)Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;
      intermediary method_28076 Lnet/minecraft/class_5289$class_5290;method_28076(Lnet/minecraft/class_1934;)Lnet/minecraft/class_5289$class_5290;
      official a Lfuy$a;a(Ldgg;)Lfuy$a;