Class MultiplayerWarningScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.multiplayer.MultiplayerWarningScreen
- All Implemented Interfaces:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class MultiplayerWarningScreen extends Screen
-
Field Summary
Fields Modifier and Type Field Description private static TextCHECK_MESSAGEprivate CheckboxWidgetcheckboxprivate static TextHEADERprivate class_5489linesprivate static TextMESSAGEprivate Screenparentprivate static TextPROCEED_TEXTFields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
Constructors Constructor Description MultiplayerWarningScreen(Screen parent) -
Method Summary
Modifier and Type Method Description StringgetNarrationMessage()protected voidinit()Called when a screen should be initialized.voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)Methods inherited from class net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onClose, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffsetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
mouseMovedMethods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
HEADER
-
MESSAGE
-
CHECK_MESSAGE
-
PROCEED_TEXT
-
parent
-
checkbox
-
lines
-
-
Constructor Details
-
MultiplayerWarningScreen
-
-
Method Details
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is
openedor resized. -
getNarrationMessage
- Overrides:
getNarrationMessagein classScreen
-
render
-