Class CustomMultiplayerScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.multiplayer.JoinMultiplayerScreen
com.pixelmonmod.pixelmon.client.gui.override.servers.screen.CustomMultiplayerScreen
- All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler
,net.minecraft.client.gui.components.events.GuiEventListener
,net.minecraft.client.gui.components.Renderable
,net.minecraft.client.gui.components.TabOrderedElement
public class CustomMultiplayerScreen
extends net.minecraft.client.gui.screens.multiplayer.JoinMultiplayerScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
protected CustomServerSelectionList
static final int
Fields inherited from class net.minecraft.client.gui.screens.Screen
BACKGROUND_LOCATION, children, font, height, minecraft, renderables, screenExecutor, title, width
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.multiplayer.ServerStatusPinger
protected void
init()
void
boolean
keyPressed
(int p_99690_, int p_99691_, int p_99692_) void
onClose()
protected void
void
removed()
void
render
(net.minecraft.client.gui.GuiGraphics graphics, int p_281629_, int p_281983_, float p_283431_) void
setSelected
(CustomServerSelectionList.Entry p_99701_) void
setToolTip
(List<net.minecraft.network.chat.Component> p_99708_) void
tick()
void
updateServerList
(ExtendedServerList extendedServerList) Methods inherited from class net.minecraft.client.gui.screens.multiplayer.JoinMultiplayerScreen
setSelected
Methods inherited from class net.minecraft.client.gui.screens.Screen
added, addEventWidget, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearWidgets, confirmLink, createArrowEvent, createTabEvent, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, narrationEnabled, onFilesDrop, openLink, rebuildWidgets, removeWidget, renderBackground, renderDirtBackground, renderTransparentBackground, renderWithTooltip, repositionElements, resize, runNarration, scheduleNarration, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, shouldRunNarration, suppressNarration, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocused
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
BUTTON_ROW_WIDTH
public static final int BUTTON_ROW_WIDTH- See Also:
-
TOP_ROW_BUTTON_WIDTH
public static final int TOP_ROW_BUTTON_WIDTH- See Also:
-
LOWER_ROW_BUTTON_WIDTH
public static final int LOWER_ROW_BUTTON_WIDTH- See Also:
-
FOOTER_HEIGHT
public static final int FOOTER_HEIGHT- See Also:
-
serverSelectionList
-
-
Constructor Details
-
CustomMultiplayerScreen
public CustomMultiplayerScreen(net.minecraft.client.gui.screens.Screen p_99688_)
-
-
Method Details
-
init
protected void init()- Overrides:
init
in classnet.minecraft.client.gui.screens.multiplayer.JoinMultiplayerScreen
-
tick
public void tick()- Overrides:
tick
in classnet.minecraft.client.gui.screens.multiplayer.JoinMultiplayerScreen
-
removed
public void removed()- Overrides:
removed
in classnet.minecraft.client.gui.screens.multiplayer.JoinMultiplayerScreen
-
keyPressed
public boolean keyPressed(int p_99690_, int p_99691_, int p_99692_) - Specified by:
keyPressed
in interfacenet.minecraft.client.gui.components.events.ContainerEventHandler
- Specified by:
keyPressed
in interfacenet.minecraft.client.gui.components.events.GuiEventListener
- Overrides:
keyPressed
in classnet.minecraft.client.gui.screens.multiplayer.JoinMultiplayerScreen
-
render
public void render(net.minecraft.client.gui.GuiGraphics graphics, int p_281629_, int p_281983_, float p_283431_) - Specified by:
render
in interfacenet.minecraft.client.gui.components.Renderable
- Overrides:
render
in classnet.minecraft.client.gui.screens.multiplayer.JoinMultiplayerScreen
-
joinSelectedServer
public void joinSelectedServer()- Overrides:
joinSelectedServer
in classnet.minecraft.client.gui.screens.multiplayer.JoinMultiplayerScreen
-
setSelected
-
onSelectedChange
protected void onSelectedChange()- Overrides:
onSelectedChange
in classnet.minecraft.client.gui.screens.multiplayer.JoinMultiplayerScreen
-
onClose
public void onClose()- Overrides:
onClose
in classnet.minecraft.client.gui.screens.multiplayer.JoinMultiplayerScreen
-
getPinger
public net.minecraft.client.multiplayer.ServerStatusPinger getPinger()- Overrides:
getPinger
in classnet.minecraft.client.gui.screens.multiplayer.JoinMultiplayerScreen
-
setToolTip
- Overrides:
setToolTip
in classnet.minecraft.client.gui.screens.multiplayer.JoinMultiplayerScreen
-
getServers
- Overrides:
getServers
in classnet.minecraft.client.gui.screens.multiplayer.JoinMultiplayerScreen
-
updateServerList
-