类 ConnectScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.ConnectScreen
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.client.gui.screens.Screen
Screen.DeferredTooltipRendering, Screen.NarratableSearchResult
-
字段概要
字段修饰符和类型字段说明static final Component
(专用程序包) boolean
(专用程序包) io.netty.channel.ChannelFuture
(专用程序包) final Component
(专用程序包) Connection
private long
(专用程序包) static final org.slf4j.Logger
private static final long
(专用程序包) final Screen
private Component
private static final AtomicInteger
static final Component
从类继承的字段 net.minecraft.client.gui.screens.Screen
CUBE_MAP, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, PANORAMA, renderables, screenExecutor, title, width
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private void
connect
(Minecraft p_251955_, ServerAddress p_249536_, ServerData p_252078_, TransferState p_330037_) protected void
init()
void
render
(GuiGraphics p_283201_, int p_95701_, int p_95702_, float p_95703_) boolean
static void
startConnecting
(Screen p_279473_, Minecraft p_279200_, ServerAddress p_279150_, ServerData p_279481_, boolean p_279117_, TransferState p_329293_) void
tick()
private void
updateStatus
(Component p_95718_) 从类继承的方法 net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearTooltipForNextRenderPass, clearWidgets, fillCrashDetails, findNarratableWidget, getBackgroundMusic, getFont, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldNarrateNavigation, showsActiveEffects, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatus
从类继承的方法 net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, mouseMoved
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
UNIQUE_THREAD_ID
-
LOGGER
static final org.slf4j.Logger LOGGER -
NARRATION_DELAY_MS
private static final long NARRATION_DELAY_MS- 另请参阅:
-
ABORT_CONNECTION
-
UNKNOWN_HOST_MESSAGE
-
connection
-
channelFuture
@Nullable io.netty.channel.ChannelFuture channelFuture -
aborted
volatile boolean aborted -
parent
-
status
-
lastNarration
private long lastNarration -
connectFailedTitle
-
-
构造器详细资料
-
ConnectScreen
-
-
方法详细资料
-
startConnecting
public static void startConnecting(Screen p_279473_, Minecraft p_279200_, ServerAddress p_279150_, ServerData p_279481_, boolean p_279117_, @Nullable TransferState p_329293_) -
connect
private void connect(Minecraft p_251955_, ServerAddress p_249536_, ServerData p_252078_, @Nullable TransferState p_330037_) -
updateStatus
-
tick
public void tick() -
shouldCloseOnEsc
public boolean shouldCloseOnEsc()- 覆盖:
shouldCloseOnEsc
在类中Screen
-
init
protected void init() -
render
- 指定者:
render
在接口中Renderable
- 覆盖:
render
在类中Screen
-