net.minecraft.client.gui.screens.debug

public class GameModeSwitcherScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TickableWidget, Widget

drl
net.minecraft.client.gui.screens.debug.GameModeSwitcherScreen
net.minecraft.class_5289
net.minecraft.client.gui.screen.GameModeSelectionScreen
net.minecraft.client.gui.screen.GamemodeSelectionScreen

Field summary

Modifier and TypeField
private static final ResourceLocation
a
GAMEMODE_SWITCHER_LOCATION
field_24566
TEXTURE
field_238703_a_
private static final int
b
ALL_SLOTS_WIDTH
field_24567
UI_WIDTH
field_238704_b_
private static final Component
c
SELECT_KEY
field_25454
field_25454
field_238705_c_
private final Optional<GameModeSwitcherScreen$GameModeIcon>
p
previousHovered
field_24568
currentGameMode
field_238706_p_
private Optional<GameModeSwitcherScreen$GameModeIcon>
q
currentlyHovered
field_24569
gameMode
field_238707_q_
private int
r
firstMouseX
field_24570
lastMouseX
field_238708_r_
private int
s
firstMouseY
field_24571
lastMouseY
field_238709_s_
private boolean
t
setFirstMousePos
field_24572
mouseUsedForSelection
field_238710_t_
private final List<GameModeSwitcherScreen$GameModeSlot>
u
slots
field_24573
gameModeButtons
field_238711_u_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private GameType
k()
getDefaultSelected()
method_30106()
method_30106()
func_241608_k_()
protected void
b()
init()
method_25426()
init()
func_231160_c_()
public void
a(dhl 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)
func_230430_a_(MatrixStack arg0, int arg1, int arg2, float arg3)
private void
l()
switchToHoveredGameMode()
method_28068()
apply()
func_238717_j_()
private static void
a(dlx arg0, Optional<drl$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$GameMode> gameMode)
func_238713_a_(Minecraft arg0, Optional<GamemodeSelectionScreen$Mode> arg1)
private boolean
m()
checkToClose()
method_28069()
checkForClose()
func_238718_l_()
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)
func_231046_a_(int arg0, int arg1, int arg2)
public boolean
ax_()
isPauseScreen()
method_25421()
isPauseScreen()
func_231177_au__()