net.minecraft.client.gui.screens.debug

public class GameModeSwitcherScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, Widget

emh
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
n
SLOT_AREA
field_32312
BUTTON_SIZE
f_169584_
private static final int
o
SLOT_PADDING
field_32313
ICON_OFFSET
f_169585_
private static final int
p
SLOT_AREA_PADDED
field_32314
field_32314
f_169586_
private static final int
q
HELP_TIPS_OFFSET_Y
field_32315
field_32315
f_169587_
private static final int
r
ALL_SLOTS_WIDTH
field_24567
UI_WIDTH
f_97542_
private static final Component
s
SELECT_KEY
field_25454
SELECT_NEXT_TEXT
f_97543_
private final Optional<GameModeSwitcherScreen$GameModeIcon>
t
previousHovered
field_24568
currentGameMode
f_97544_
private Optional<GameModeSwitcherScreen$GameModeIcon>
u
currentlyHovered
field_24569
gameMode
f_97545_
private int
v
firstMouseX
field_24570
lastMouseX
f_97546_
private int
w
firstMouseY
field_24571
lastMouseY
f_97547_
private boolean
x
setFirstMousePos
field_24572
mouseUsedForSelection
f_97548_
private final List<GameModeSwitcherScreen$GameModeSlot>
y
slots
field_24573
gameModeButtons
f_97549_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private GameType
g()
getDefaultSelected()
method_30106()
getPreviousGameMode()
m_97575_()
protected void
b()
init()
method_25426()
init()
m_7856_()
public void
a(eaq 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_6305_(C_3181_ p_97558_, int p_97559_, int p_97560_, float arg3)
private void
j()
switchToHoveredGameMode()
method_28068()
apply()
m_97576_()
private static void
a(efu arg0, Optional<emh$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
k()
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
h()
isPauseScreen()
method_25421()
shouldPause()
m_7043_()