net.minecraft.client.gui.screens.debug

public class GameModeSwitcherScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

ety
net.minecraft.client.gui.screens.debug.GameModeSwitcherScreen
net.minecraft.class_5289
net.minecraft.client.gui.screen.GameModeSelectionScreen
net.minecraft.src.C_3618_

Field summary

Modifier and TypeField
static final ResourceLocation
a
GAMEMODE_SWITCHER_LOCATION
field_24566
TEXTURE
f_97541_
private static final int
b
SPRITE_SHEET_WIDTH
field_32310
TEXTURE_WIDTH
f_169582_
private static final int
c
SPRITE_SHEET_HEIGHT
field_32311
TEXTURE_HEIGHT
f_169583_
private static final int
o
SLOT_AREA
field_32312
BUTTON_SIZE
f_169584_
private static final int
p
SLOT_PADDING
field_32313
ICON_OFFSET
f_169585_
private static final int
q
SLOT_AREA_PADDED
field_32314
field_32314
f_169586_
private static final int
r
HELP_TIPS_OFFSET_Y
field_32315
field_32315
f_169587_
private static final int
s
ALL_SLOTS_WIDTH
field_24567
UI_WIDTH
f_97542_
private static final Component
t
SELECT_KEY
field_25454
SELECT_NEXT_TEXT
f_97543_
private final Optional<GameModeSwitcherScreen$GameModeIcon>
u
previousHovered
field_24568
currentGameMode
f_97544_
private Optional<GameModeSwitcherScreen$GameModeIcon>
v
currentlyHovered
field_24569
gameMode
f_97545_
private int
w
firstMouseX
field_24570
lastMouseX
f_97546_
private int
x
firstMouseY
field_24571
lastMouseY
f_97547_
private boolean
y
setFirstMousePos
field_24572
mouseUsedForSelection
f_97548_
private final List<GameModeSwitcherScreen$GameModeSlot>
z
slots
field_24573
gameModeButtons
f_97549_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private GameType
m()
getDefaultSelected()
method_30106()
getPreviousGameMode()
m_97575_()
protected void
b()
init()
method_25426()
init()
m_7856_()
public void
a(ehe arg0, int arg1, int arg2, float arg3)
render(PoseStack arg0, int arg1, int arg2, float arg3)
method_25394(class_4587 arg0, int arg1, int arg2, float arg3)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
m_86412_(C_3181_ p_97558_, int p_97559_, int p_97560_, float arg3)
private void
B()
switchToHoveredGameMode()
method_28068()
apply()
m_97576_()
private static void
a(emh arg0, Optional<ety$a> arg1)
switchToHoveredGameMode(Minecraft arg0, Optional<GameModeSwitcherScreen$GameModeIcon> arg1)
method_28064(class_310 arg0, Optional<class_5289$class_5290> arg1)
apply(MinecraftClient client, Optional<GameModeSelectionScreen$GameModeSelection> gameMode)
m_97564_(C_3391_ p_97565_, Optional<C_3618_$C_3620_> p_97566_)
private boolean
C()
checkToClose()
method_28069()
checkForClose()
m_97577_()
public boolean
a(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
m_7933_(int p_97554_, int p_97555_, int arg2)
public boolean
aB_()
isPauseScreen()
method_25421()
shouldPause()
m_7043_()