Package net.minecraft.client.gui.screens
Class ConnectScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.ConnectScreen
- All Implemented Interfaces:
- ContainerEventHandler,- GuiEventListener,- Renderable,- TabOrderedElement
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.gui.screens.ScreenScreen.DeferredTooltipRendering, Screen.NarratableSearchResult
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Component(package private) boolean(package private) io.netty.channel.ChannelFuture(package private) final Component(package private) Connectionprivate long(package private) static final org.slf4j.Loggerprivate static final long(package private) final Screenprivate Componentprivate static final AtomicIntegerstatic final ComponentFields inherited from class net.minecraft.client.gui.screens.ScreenBACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListenerDOUBLE_CLICK_THRESHOLD_MS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidconnect(Minecraft p_251955_, ServerAddress p_249536_, ServerData p_252078_) protected voidinit()voidrender(GuiGraphics p_283201_, int p_95701_, int p_95702_, float p_95703_) booleanstatic voidstartConnecting(Screen p_279473_, Minecraft p_279200_, ServerAddress p_279150_, ServerData p_279481_, boolean p_279117_) voidtick()private voidupdateStatus(Component p_95718_) Methods inherited from class net.minecraft.client.gui.screens.Screenadded, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderDirtBackground, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldNarrateNavigation, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandlergetFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandlercharTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenermouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElementgetTabOrderGroup
- 
Field Details- 
UNIQUE_THREAD_ID
- 
LOGGERstatic final org.slf4j.Logger LOGGER
- 
NARRATION_DELAY_MSprivate static final long NARRATION_DELAY_MS- See Also:
 
- 
ABORT_CONNECTION
- 
UNKNOWN_HOST_MESSAGE
- 
connection
- 
channelFuture@Nullable io.netty.channel.ChannelFuture channelFuture
- 
abortedvolatile boolean aborted
- 
parent
- 
status
- 
lastNarrationprivate long lastNarration
- 
connectFailedTitle
 
- 
- 
Constructor Details- 
ConnectScreen
 
- 
- 
Method Details- 
startConnectingpublic static void startConnecting(Screen p_279473_, Minecraft p_279200_, ServerAddress p_279150_, ServerData p_279481_, boolean p_279117_) 
- 
connect
- 
updateStatus
- 
tickpublic void tick()
- 
shouldCloseOnEscpublic boolean shouldCloseOnEsc()- Overrides:
- shouldCloseOnEscin class- Screen
 
- 
initprotected void init()
- 
render- Specified by:
- renderin interface- Renderable
- Overrides:
- renderin class- Screen
 
 
-