Package net.minecraft.client.gui.screen
Enum Class GameModeSwitcherScreen.GameModeSelection
java.lang.Object
java.lang.Enum<GameModeSwitcherScreen.GameModeSelection>
net.minecraft.client.gui.screen.GameModeSwitcherScreen.GameModeSelection
- All Implemented Interfaces:
Serializable
,Comparable<GameModeSwitcherScreen.GameModeSelection>
,Constable
- Enclosing class:
GameModeSwitcherScreen
@Environment(CLIENT)
private static enum GameModeSwitcherScreen.GameModeSelection
extends Enum<GameModeSwitcherScreen.GameModeSelection>
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection
intermediary net/minecraft/class_5289$class_5290
official gfe$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private static final int
(package private) final GameMode
private final ItemStack
(package private) final Text
(package private) static final GameModeSwitcherScreen.GameModeSelection[]
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
GameModeSelection
(Text text, GameMode gameMode, ItemStack icon) -
Method Summary
Modifier and TypeMethodDescription(package private) GameModeSwitcherScreen.GameModeSelection
next()
(package private) static GameModeSwitcherScreen.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 named CREATIVE
Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection;CREATIVE:Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection;
intermediary field_24576
Lnet/minecraft/class_5289$class_5290;field_24576:Lnet/minecraft/class_5289$class_5290;
official a
Lgfe$a;a:Lgfe$a;
-
SURVIVAL
- Mappings:
Namespace Name Mixin selector named SURVIVAL
Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection;SURVIVAL:Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection;
intermediary field_24577
Lnet/minecraft/class_5289$class_5290;field_24577:Lnet/minecraft/class_5289$class_5290;
official b
Lgfe$a;b:Lgfe$a;
-
ADVENTURE
- Mappings:
Namespace Name Mixin selector named ADVENTURE
Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection;ADVENTURE:Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection;
intermediary field_24578
Lnet/minecraft/class_5289$class_5290;field_24578:Lnet/minecraft/class_5289$class_5290;
official c
Lgfe$a;c:Lgfe$a;
-
SPECTATOR
- Mappings:
Namespace Name Mixin selector named SPECTATOR
Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection;SPECTATOR:Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection;
intermediary field_24579
Lnet/minecraft/class_5289$class_5290;field_24579:Lnet/minecraft/class_5289$class_5290;
official d
Lgfe$a;d:Lgfe$a;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector named VALUES
Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection;VALUES:[Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection;
intermediary field_24580
Lnet/minecraft/class_5289$class_5290;field_24580:[Lnet/minecraft/class_5289$class_5290;
official e
Lgfe$a;e:[Lgfe$a;
-
field_32317
private static final int field_32317- See Also:
- Mappings:
Namespace Name Mixin selector named field_32317
Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection;field_32317:I
intermediary field_32317
Lnet/minecraft/class_5289$class_5290;field_32317:I
official f
Lgfe$a;f:I
-
field_32316
private static final int field_32316- See Also:
- Mappings:
Namespace Name Mixin selector named field_32316
Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection;field_32316:I
intermediary field_32316
Lnet/minecraft/class_5289$class_5290;field_32316:I
official g
Lgfe$a;g:I
-
text
- Mappings:
Namespace Name Mixin selector named text
Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection;text:Lnet/minecraft/text/Text;
intermediary field_24581
Lnet/minecraft/class_5289$class_5290;field_24581:Lnet/minecraft/class_2561;
official h
Lgfe$a;h:Lxo;
-
gameMode
- Mappings:
Namespace Name Mixin selector named gameMode
Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection;gameMode:Lnet/minecraft/world/GameMode;
intermediary field_60755
Lnet/minecraft/class_5289$class_5290;field_60755:Lnet/minecraft/class_1934;
official i
Lgfe$a;i:Ldmr;
-
icon
- Mappings:
Namespace Name Mixin selector named icon
Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection;icon:Lnet/minecraft/item/ItemStack;
intermediary field_24583
Lnet/minecraft/class_5289$class_5290;field_24583:Lnet/minecraft/class_1799;
official j
Lgfe$a;j:Ldcv;
-
-
Constructor Details
-
GameModeSelection
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection;<init>(Ljava/lang/String;ILnet/minecraft/text/Text;Lnet/minecraft/world/GameMode;Lnet/minecraft/item/ItemStack;)V
intermediary <init>
Lnet/minecraft/class_5289$class_5290;<init>(Ljava/lang/String;ILnet/minecraft/class_2561;Lnet/minecraft/class_1934;Lnet/minecraft/class_1799;)V
official <init>
Lgfe$a;<init>(Ljava/lang/String;ILxo;Ldmr;Ldcv;)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 named renderIcon
Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$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
Lgfe$a;a(Lfxa;II)V
-
next
- Mappings:
Namespace Name Mixin selector named next
Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection;next()Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection;
intermediary method_28078
Lnet/minecraft/class_5289$class_5290;method_28078()Lnet/minecraft/class_5289$class_5290;
official a
Lgfe$a;a()Lgfe$a;
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection;of(Lnet/minecraft/world/GameMode;)Lnet/minecraft/client/gui/screen/GameModeSwitcherScreen$GameModeSelection;
intermediary method_28076
Lnet/minecraft/class_5289$class_5290;method_28076(Lnet/minecraft/class_1934;)Lnet/minecraft/class_5289$class_5290;
official a
Lgfe$a;a(Ldmr;)Lgfe$a;
-