Class CodeOfConductScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.WarningScreen
net.minecraft.client.gui.screen.multiplayer.CodeOfConductScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/multiplayer/CodeOfConductScreenintermediary net/minecraft/class_11777official gpu
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BooleanConsumerprivate static final Textprivate final Screenprivate final Stringprivate final @Nullable ServerInfoprivate static final TextFields inherited from class net.minecraft.client.gui.screen.WarningScreen
checkboxFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, width -
Constructor Summary
ConstructorsModifierConstructorDescriptionCodeOfConductScreen(@Nullable ServerInfo serverInfo, Screen screen, String string, BooleanConsumer booleanConsumer) privateCodeOfConductScreen(@Nullable ServerInfo serverInfo, Screen screen, Text text, String string, BooleanConsumer booleanConsumer) -
Method Summary
Modifier and TypeMethodDescriptionprotected LayoutWidgetprivate voidonAnswer(boolean acknowledged) booleanChecks whether this screen should be closed when the escape key is pressed.voidtick()Methods inherited from class net.minecraft.client.gui.screen.WarningScreen
getNarratedTitle, init, refreshWidgetPositionsMethods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, allowRotatingPanorama, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, canInterruptOtherScreen, children, clearAndInit, clearChildren, close, deferSubtitles, findSelectedElementData, getMusic, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasUsageText, init, insertText, isMouseOver, isValidCharacterForName, keepOpenThroughPortal, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, remove, removed, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldPause, showsStatusEffects, switchFocus, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods 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
getBorder, isClickable, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named TITLE_TEXTLnet/minecraft/client/gui/screen/multiplayer/CodeOfConductScreen;TITLE_TEXT:Lnet/minecraft/text/Text;intermediary field_62173Lnet/minecraft/class_11777;field_62173:Lnet/minecraft/class_2561;official bLgpu;b:Lxx;
-
CHECK_TEXT
- Mappings:
Namespace Name Mixin selector named CHECK_TEXTLnet/minecraft/client/gui/screen/multiplayer/CodeOfConductScreen;CHECK_TEXT:Lnet/minecraft/text/Text;intermediary field_62174Lnet/minecraft/class_11777;field_62174:Lnet/minecraft/class_2561;official cLgpu;c:Lxx;
-
serverInfo
- Mappings:
Namespace Name Mixin selector named serverInfoLnet/minecraft/client/gui/screen/multiplayer/CodeOfConductScreen;serverInfo:Lnet/minecraft/client/network/ServerInfo;intermediary field_62175Lnet/minecraft/class_11777;field_62175:Lnet/minecraft/class_642;official dLgpu;d:Lhab;
-
rawCodeOfConduct
- Mappings:
Namespace Name Mixin selector named rawCodeOfConductLnet/minecraft/client/gui/screen/multiplayer/CodeOfConductScreen;rawCodeOfConduct:Ljava/lang/String;intermediary field_62176Lnet/minecraft/class_11777;field_62176:Ljava/lang/String;official eLgpu;e:Ljava/lang/String;
-
callback
- Mappings:
Namespace Name Mixin selector named callbackLnet/minecraft/client/gui/screen/multiplayer/CodeOfConductScreen;callback:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;intermediary field_62177Lnet/minecraft/class_11777;field_62177:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;official fLgpu;f:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
-
field_62585
- Mappings:
Namespace Name Mixin selector named field_62585Lnet/minecraft/client/gui/screen/multiplayer/CodeOfConductScreen;field_62585:Lnet/minecraft/client/gui/screen/Screen;intermediary field_62585Lnet/minecraft/class_11777;field_62585:Lnet/minecraft/class_437;official tLgpu;t:Lgmj;
-
-
Constructor Details
-
CodeOfConductScreen
private CodeOfConductScreen(@Nullable @Nullable ServerInfo serverInfo, Screen screen, Text text, String string, BooleanConsumer booleanConsumer) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/multiplayer/CodeOfConductScreen;<init>(Lnet/minecraft/client/network/ServerInfo;Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/text/Text;Ljava/lang/String;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)Vintermediary <init>Lnet/minecraft/class_11777;<init>(Lnet/minecraft/class_642;Lnet/minecraft/class_437;Lnet/minecraft/class_2561;Ljava/lang/String;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)Vofficial <init>Lgpu;<init>(Lhab;Lgmj;Lxx;Ljava/lang/String;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)V
-
CodeOfConductScreen
public CodeOfConductScreen(@Nullable @Nullable ServerInfo serverInfo, Screen screen, String string, BooleanConsumer booleanConsumer) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/multiplayer/CodeOfConductScreen;<init>(Lnet/minecraft/client/network/ServerInfo;Lnet/minecraft/client/gui/screen/Screen;Ljava/lang/String;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)Vintermediary <init>Lnet/minecraft/class_11777;<init>(Lnet/minecraft/class_642;Lnet/minecraft/class_437;Ljava/lang/String;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)Vofficial <init>Lgpu;<init>(Lhab;Lgmj;Ljava/lang/String;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)V
-
-
Method Details
-
getLayout
- Specified by:
getLayoutin classWarningScreen- Mappings:
Namespace Name Mixin selector named getLayoutLnet/minecraft/client/gui/screen/WarningScreen;getLayout()Lnet/minecraft/client/gui/widget/LayoutWidget;intermediary method_57750Lnet/minecraft/class_7065;method_57750()Lnet/minecraft/class_8133;official oLgpz;o()Lgjd;
-
onAnswer
private void onAnswer(boolean acknowledged) - Mappings:
Namespace Name Mixin selector named onAnswerLnet/minecraft/client/gui/screen/multiplayer/CodeOfConductScreen;onAnswer(Z)Vintermediary method_73434Lnet/minecraft/class_11777;method_73434(Z)Vofficial cLgpu;c(Z)V
-
shouldCloseOnEsc
public boolean shouldCloseOnEsc()Checks whether this screen should be closed when the escape key is pressed.- Overrides:
shouldCloseOnEscin classScreen- Mappings:
Namespace Name Mixin selector named shouldCloseOnEscLnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Zintermediary method_25422Lnet/minecraft/class_437;method_25422()Zofficial aY_Lgmj;aY_()Z
-
tick
public void tick()
-