Package net.minecraft.client.gui.screen
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 official evm$a
intermediary net/minecraft/class_5289$class_5290
named net/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescription(package private) final String
protected static final int
private static final int
(package private) final ItemStack
(package private) final Text
protected static final GameModeSelectionScreen.GameModeSelection[]
-
Constructor Summary
ModifierConstructorDescriptionprivate
GameModeSelection
(Text text, String command, ItemStack icon) -
Method Summary
Modifier and TypeMethodDescription(package private) String
(package private) Text
getText()
(package private) GameModeSelectionScreen.GameModeSelection
next()
(package private) static GameModeSelectionScreen.GameModeSelection
(package private) void
renderIcon
(DrawContext context, int x, int y) Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATIVE
- Mappings:
Namespace Name Mixin selector official a
Levm$a;a:Levm$a;
intermediary field_24576
Lnet/minecraft/class_5289$class_5290;field_24576:Lnet/minecraft/class_5289$class_5290;
named CREATIVE
Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;CREATIVE:Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;
-
SURVIVAL
- Mappings:
Namespace Name Mixin selector official b
Levm$a;b:Levm$a;
intermediary field_24577
Lnet/minecraft/class_5289$class_5290;field_24577:Lnet/minecraft/class_5289$class_5290;
named SURVIVAL
Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;SURVIVAL:Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;
-
ADVENTURE
- Mappings:
Namespace Name Mixin selector official c
Levm$a;c:Levm$a;
intermediary field_24578
Lnet/minecraft/class_5289$class_5290;field_24578:Lnet/minecraft/class_5289$class_5290;
named ADVENTURE
Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;ADVENTURE:Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;
-
SPECTATOR
- Mappings:
Namespace Name Mixin selector official d
Levm$a;d:Levm$a;
intermediary field_24579
Lnet/minecraft/class_5289$class_5290;field_24579:Lnet/minecraft/class_5289$class_5290;
named SPECTATOR
Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;SPECTATOR:Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official e
Levm$a;e:[Levm$a;
intermediary field_24580
Lnet/minecraft/class_5289$class_5290;field_24580:[Lnet/minecraft/class_5289$class_5290;
named VALUES
Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;VALUES:[Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;
-
field_32317
private static final int field_32317- See Also:
- Mappings:
Namespace Name Mixin selector official j
Levm$a;j:I
intermediary field_32317
Lnet/minecraft/class_5289$class_5290;field_32317:I
named field_32317
Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;field_32317:I
-
field_32316
protected static final int field_32316- See Also:
- Mappings:
Namespace Name Mixin selector official f
Levm$a;f:I
intermediary field_32316
Lnet/minecraft/class_5289$class_5290;field_32316:I
named field_32316
Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;field_32316:I
-
text
- Mappings:
Namespace Name Mixin selector official g
Levm$a;g:Lsw;
intermediary field_24581
Lnet/minecraft/class_5289$class_5290;field_24581:Lnet/minecraft/class_2561;
named text
Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;text:Lnet/minecraft/text/Text;
-
command
- Mappings:
Namespace Name Mixin selector official h
Levm$a;h:Ljava/lang/String;
intermediary field_24582
Lnet/minecraft/class_5289$class_5290;field_24582:Ljava/lang/String;
named command
Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;command:Ljava/lang/String;
-
icon
- Mappings:
Namespace Name Mixin selector official i
Levm$a;i:Lcfz;
intermediary field_24583
Lnet/minecraft/class_5289$class_5290;field_24583:Lnet/minecraft/class_1799;
named icon
Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;icon:Lnet/minecraft/item/ItemStack;
-
-
Constructor Details
-
GameModeSelection
- Mappings:
Namespace Name Mixin selector official <init>
Levm$a;<init>(Ljava/lang/String;ILsw;Ljava/lang/String;Lcfz;)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
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
-
-
Method Details
-
values
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
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 nameNullPointerException
- if the argument is null
-
renderIcon
- Mappings:
Namespace Name Mixin selector official a
Levm$a;a(Leox;II)V
intermediary method_28074
Lnet/minecraft/class_5289$class_5290;method_28074(Lnet/minecraft/class_332;II)V
named renderIcon
Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;renderIcon(Lnet/minecraft/client/gui/DrawContext;II)V
-
getText
Text getText()- Mappings:
Namespace Name Mixin selector official a
Levm$a;a()Lsw;
intermediary method_28070
Lnet/minecraft/class_5289$class_5290;method_28070()Lnet/minecraft/class_2561;
named getText
Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;getText()Lnet/minecraft/text/Text;
-
getCommand
String getCommand()- Mappings:
Namespace Name Mixin selector official b
Levm$a;b()Ljava/lang/String;
intermediary method_28075
Lnet/minecraft/class_5289$class_5290;method_28075()Ljava/lang/String;
named getCommand
Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;getCommand()Ljava/lang/String;
-
next
- Mappings:
Namespace Name Mixin selector official c
Levm$a;c()Levm$a;
intermediary method_28078
Lnet/minecraft/class_5289$class_5290;method_28078()Lnet/minecraft/class_5289$class_5290;
named next
Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;next()Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;
-
of
- Mappings:
Namespace Name Mixin selector official a
Levm$a;a(Lcmj;)Levm$a;
intermediary method_28076
Lnet/minecraft/class_5289$class_5290;method_28076(Lnet/minecraft/class_1934;)Lnet/minecraft/class_5289$class_5290;
named of
Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;of(Lnet/minecraft/world/GameMode;)Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;
-