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.client.gui.screen.GameModeSelectionScreen
net.minecraft.src.C_3618_

Field summary

Modifier and TypeField
static final ResourceLocation
a
SLOT_SPRITE
field_45432
SLOT_TEXTURE
f_290989_
static final ResourceLocation
b
SELECTION_SPRITE
field_45433
SELECTION_TEXTURE
f_291869_
private static final ResourceLocation
c
GAMEMODE_SWITCHER_LOCATION
field_24566
TEXTURE
f_97541_
private static final int
r
SPRITE_SHEET_WIDTH
field_32310
TEXTURE_WIDTH
f_169582_
private static final int
s
SPRITE_SHEET_HEIGHT
field_32311
TEXTURE_HEIGHT
f_169583_
private static final int
u
SLOT_AREA
field_32312
BUTTON_SIZE
f_169584_
private static final int
v
SLOT_PADDING
field_32313
ICON_OFFSET
f_169585_
private static final int
w
SLOT_AREA_PADDED
field_32314
field_32314
f_169586_
private static final int
x
HELP_TIPS_OFFSET_Y
field_32315
field_32315
f_169587_
private static final int
y
ALL_SLOTS_WIDTH
field_24567
UI_WIDTH
f_97542_
private static final Component
z
SELECT_KEY
field_25454
SELECT_NEXT_TEXT
f_97543_
private final GameModeSwitcherScreen$GameModeIcon
A
previousHovered
field_24568
currentGameMode
f_97544_
private GameModeSwitcherScreen$GameModeIcon
B
currentlyHovered
field_24569
gameMode
f_97545_
private int
C
firstMouseX
field_24570
lastMouseX
f_97546_
private int
D
firstMouseY
field_24571
lastMouseY
f_97547_
private boolean
E
setFirstMousePos
field_24572
mouseUsedForSelection
f_97548_
private final List<GameModeSwitcherScreen$GameModeSlot>
F
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
aT_()
init()
method_25426()
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)
render(DrawContext 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)
renderBackground(DrawContext 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()
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)
apply(MinecraftClient client, GameModeSelectionScreen$GameModeSelection gameModeSelection)
m_280040_(C_3391_ p_281340_, C_3618_$C_3620_ p_281358_)
private boolean
D()
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
k()
isPauseScreen()
method_25421()
shouldPause()
m_7043_()