net.minecraft.client.gui.screen

enum GameModeSwitcherScreen$GameModeSelection

net.minecraft.client.gui.screens.debug.GameModeSwitcherScreen$GameModeIcon
net.minecraft.class_5289$class_5290
net.minecraft.client.gui.screen.GameModeSwitcherScreen$GameModeSelection

Enum constant summary

Enum Constant
CREATIVE
field_24576
CREATIVE
SURVIVAL
field_24577
SURVIVAL
ADVENTURE
field_24578
ADVENTURE
SPECTATOR
field_24579
SPECTATOR

Field summary

Modifier and TypeField
private static final GameModeSwitcherScreen$GameModeSelection[]
VALUES
field_24580
VALUES
private static final int
ICON_AREA
field_32317
field_32317
private static final int
ICON_TOP_LEFT
field_32316
field_32316
private final Text
name
field_24581
text
private final GameMode
mode
field_60755
gameMode
private final ItemStack
renderStack
field_24583
icon
private static final GameModeSwitcherScreen$GameModeSelection[]
$VALUES
field_24584
field_24584

Constructor summary

ModifierConstructor
private (Text $enum$name, GameMode $enum$ordinal, ItemStack text)

Method summary

Modifier and TypeMethod
private void
drawIcon(GuiGraphics graphics, int x, int y)
method_28074(class_332 arg0, int arg1, int arg2)
renderIcon(DrawContext context, int x, int y)
private GameModeSwitcherScreen$GameModeSelection
getNext()
method_28078()
next()
private static GameModeSwitcherScreen$GameModeSelection
getFromGameType(GameType gameType)
method_28076(class_1934 arg0)
of(GameMode gameMode)
private static GameModeSwitcherScreen$GameModeSelection[]
$values()
method_36886()
method_36886()