net.minecraft.client.gui.screens.debug

public class GameModeSwitcherScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, Widget

edm
net.minecraft.client.gui.screens.debug.GameModeSwitcherScreen
net.minecraft.class_5289
net.minecraft.unmapped.C_ghsibibk
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
f_uhopmgrd
TEXTURE
f_97541_
private static final int
b
SPRITE_SHEET_WIDTH
field_32310
f_mkxmaboy
TEXTURE_WIDTH
f_169582_
private static final int
c
SPRITE_SHEET_HEIGHT
field_32311
f_tkarwnpb
TEXTURE_HEIGHT
f_169583_
private static final int
n
SLOT_AREA
field_32312
f_tmfsoxtp
BUTTON_SIZE
f_169584_
private static final int
o
SLOT_PADDING
field_32313
f_jdqssxnj
ICON_OFFSET
f_169585_
private static final int
p
SLOT_AREA_PADDED
field_32314
f_lsmjpale
field_32314
f_169586_
private static final int
q
HELP_TIPS_OFFSET_Y
field_32315
f_ldploqva
field_32315
f_169587_
private static final int
r
ALL_SLOTS_WIDTH
field_24567
f_tajtsffs
UI_WIDTH
f_97542_
private static final Component
s
SELECT_KEY
field_25454
f_mhuoqnrs
SELECT_NEXT_TEXT
f_97543_
private final Optional<GameModeSwitcherScreen$GameModeIcon>
t
previousHovered
field_24568
f_lxaajafr
currentGameMode
f_97544_
private Optional<GameModeSwitcherScreen$GameModeIcon>
u
currentlyHovered
field_24569
f_zihycbab
gameMode
f_97545_
private int
v
firstMouseX
field_24570
f_txlpmqot
lastMouseX
f_97546_
private int
w
firstMouseY
field_24571
f_pxbsrnkx
lastMouseY
f_97547_
private boolean
x
setFirstMousePos
field_24572
f_dxvfepaq
mouseUsedForSelection
f_97548_
private final List<GameModeSwitcherScreen$GameModeSlot>
y
slots
field_24573
f_fkgaganl
gameModeButtons
f_97549_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private GameType
h()
getDefaultSelected()
method_30106()
m_idflwjuo()
getPreviousGameMode()
m_97575_()
protected void
b()
init()
method_25426()
m_xaqeivsh()
init()
m_7856_()
public void
a(dsj 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)
m_exyypwjw(C_cnszsxvd 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
v()
switchToHoveredGameMode()
method_28068()
m_onhxyjhd()
apply()
m_97576_()
private static void
a(dxo arg0, Optional<edm$a> arg1)
switchToHoveredGameMode(Minecraft arg0, Optional<GameModeSwitcherScreen$GameModeIcon> arg1)
method_28064(class_310 arg0, Optional<class_5289$class_5290> arg1)
m_rsyvcozd(C_ayfeobid arg0, Optional<C_ghsibibk$C_zhwrtjbx> arg1)
apply(MinecraftClient client, Optional<GameModeSelectionScreen$GameModeSelection> gameMode)
m_97564_(C_3391_ p_97565_, Optional<C_3618_$C_3620_> p_97566_)
private boolean
w()
checkToClose()
method_28069()
m_mkuyxwzk()
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)
m_qwrbtcbl(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
ah_()
isPauseScreen()
method_25421()
m_acdaclus()
isPauseScreen()
m_7043_()