net.minecraft.client.gui.screens.debug

public class GameModeSwitcherScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fop
net.minecraft.client.gui.screens.debug.GameModeSwitcherScreen
net.minecraft.class_5289
net.minecraft.unmapped.C_ghsibibk
net.minecraft.client.gui.screen.GameModeSelectionScreen
net.minecraft.client.gui.screen.GameModeSelectionScreen
net.minecraft.src.C_3618_

Field summary

Modifier and TypeField
static final ResourceLocation
a
SLOT_SPRITE
field_45432
f_cfyxaade
SLOT_TEXTURE
SLOT
f_290989_
static final ResourceLocation
b
SELECTION_SPRITE
field_45433
f_fsjyqabz
SELECTION_TEXTURE
SELECTION
f_291869_
private static final ResourceLocation
c
GAMEMODE_SWITCHER_LOCATION
field_24566
f_uhopmgrd
TEXTURE
TEXTURE
f_97541_
private static final int
r
SPRITE_SHEET_WIDTH
field_32310
f_mkxmaboy
TEXTURE_WIDTH
TEXTURE_WIDTH
f_169582_
private static final int
s
SPRITE_SHEET_HEIGHT
field_32311
f_tkarwnpb
TEXTURE_HEIGHT
TEXTURE_HEIGHT
f_169583_
private static final int
u
SLOT_AREA
field_32312
f_tmfsoxtp
BUTTON_SIZE
SLOT_AREA
f_169584_
private static final int
v
SLOT_PADDING
field_32313
f_jdqssxnj
ICON_OFFSET
SLOT_PADDING
f_169585_
private static final int
w
SLOT_AREA_PADDED
field_32314
f_lsmjpale
field_32314
SLOT_AREA_PADDED
f_169586_
private static final int
x
HELP_TIPS_OFFSET_Y
field_32315
f_ldploqva
field_32315
HELP_TIPS_Y_OFFSET
f_169587_
private static final int
y
ALL_SLOTS_WIDTH
field_24567
f_tajtsffs
UI_WIDTH
UI_WIDTH
f_97542_
private static final Component
z
SELECT_KEY
field_25454
f_mhuoqnrs
SELECT_NEXT_TEXT
SELECT_NEXT
f_97543_
private final GameModeSwitcherScreen$GameModeIcon
A
previousHovered
field_24568
f_lxaajafr
currentGameMode
currentGameMode
f_97544_
private GameModeSwitcherScreen$GameModeIcon
B
currentlyHovered
field_24569
f_zihycbab
gameMode
gameMode
f_97545_
private int
C
firstMouseX
field_24570
f_txlpmqot
lastMouseX
lastMouseX
f_97546_
private int
D
firstMouseY
field_24571
f_pxbsrnkx
lastMouseY
lastMouseY
f_97547_
private boolean
E
setFirstMousePos
field_24572
f_dxvfepaq
mouseUsedForSelection
mouseUsedForSelection
f_97548_
private final List<GameModeSwitcherScreen$GameModeSlot>
F
slots
field_24573
f_fkgaganl
gameModeButtons
gameModeButtons
f_97549_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private GameType
m()
getDefaultSelected()
method_30106()
m_idflwjuo()
getPreviousGameMode()
getPreviousGameMode()
m_97575_()
protected void
aT_()
init()
method_25426()
m_xaqeivsh()
init()
init()
m_7856_()
public void
a(fhz arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
m_ljhpujrm(C_sedilmty arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
m_88315_(C_279497_ p_283223_, int p_282178_, int p_281339_, float arg3)
public void
b(fhz arg0, int arg1, int arg2, float arg3)
renderBackground(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25420(class_332 arg0, int arg1, int arg2, float arg3)
m_qfxudleh(C_sedilmty arg0, int arg1, int arg2, float arg3)
renderBackground(DrawContext arg0, int arg1, int arg2, float arg3)
renderBackground(GuiGraphics arg0, int arg1, int arg2, float arg3)
m_280273_(C_279497_ p_297775_, int p_300982_, int p_298921_, float arg3)
private void
C()
switchToHoveredGameMode()
method_28068()
m_onhxyjhd()
apply()
apply()
m_97576_()
private static void
a(fgo arg0, fop$a arg1)
switchToHoveredGameMode(Minecraft arg0, GameModeSwitcherScreen$GameModeIcon arg1)
method_28064(class_310 arg0, class_5289$class_5290 arg1)
m_yfgxfdos(C_ayfeobid arg0, C_ghsibibk$C_zhwrtjbx arg1)
apply(MinecraftClient client, GameModeSelectionScreen$GameModeSelection gameModeSelection)
sendGameModeSelection(MinecraftClient client, GameModeSelectionScreen$GameMode gameMode)
m_280040_(C_3391_ p_281340_, C_3618_$C_3620_ p_281358_)
private boolean
D()
checkToClose()
method_28069()
m_mkuyxwzk()
checkForClose()
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)
keyPressed(int arg0, int arg1, int arg2)
m_7933_(int p_97554_, int p_97555_, int arg2)
public boolean
k()
isPauseScreen()
method_25421()
m_acdaclus()
shouldPause()
isPauseScreen()
m_7043_()