Class ChatSelectionScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.report.ChatSelectionScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/report/ChatSelectionScreenintermediary net/minecraft/class_7543official gvn
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final Identifierprivate static final Textprivate MultilineTextprivate ButtonWidgetprivate MessagesListAdderprivate final Consumer<ChatAbuseReport.Builder> private final Screen(package private) final ChatAbuseReport.Builderprivate final AbuseReportContextprivate static final TextFields 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
ConstructorsConstructorDescriptionChatSelectionScreen(@Nullable Screen parent, AbuseReportContext reporter, ChatAbuseReport.Builder report, Consumer<ChatAbuseReport.Builder> newReportConsumer) -
Method Summary
Modifier and TypeMethodDescriptionprivate void(package private) voidvoidclose()protected voidinit()Called when a screen should be initialized.private booleanisSentByReportedPlayer(ReceivedMessage message) voidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) (package private) voidMethods 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, deferSubtitles, findSelectedElementData, getMusic, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, hasUsageText, init, insertText, isMouseOver, isValidCharacterForName, keepOpenThroughPortal, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, removed, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, shouldPause, showsStatusEffects, switchFocus, tick, 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
-
CHECKMARK_ICON_TEXTURE
- Mappings:
Namespace Name Mixin selector named CHECKMARK_ICON_TEXTURELnet/minecraft/client/gui/screen/report/ChatSelectionScreen;CHECKMARK_ICON_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45559Lnet/minecraft/class_7543;field_45559:Lnet/minecraft/class_2960;official aLgvn;a:Lamu;
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named TITLE_TEXTLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;TITLE_TEXT:Lnet/minecraft/text/Text;intermediary field_39727Lnet/minecraft/class_7543;field_39727:Lnet/minecraft/class_2561;official bLgvn;b:Lyi;
-
CONTEXT_TEXT
- Mappings:
Namespace Name Mixin selector named CONTEXT_TEXTLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;CONTEXT_TEXT:Lnet/minecraft/text/Text;intermediary field_39728Lnet/minecraft/class_7543;field_39728:Lnet/minecraft/class_2561;official cLgvn;c:Lyi;
-
parent
- Mappings:
Namespace Name Mixin selector named parentLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;parent:Lnet/minecraft/client/gui/screen/Screen;intermediary field_39584Lnet/minecraft/class_7543;field_39584:Lnet/minecraft/class_437;official dLgvn;d:Lgqj;
-
reporter
- Mappings:
Namespace Name Mixin selector named reporterLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;reporter:Lnet/minecraft/client/session/report/AbuseReportContext;intermediary field_39585Lnet/minecraft/class_7543;field_39585:Lnet/minecraft/class_7574;official eLgvn;e:Lhez;
-
doneButton
- Mappings:
Namespace Name Mixin selector named doneButtonLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;doneButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_39586Lnet/minecraft/class_7543;field_39586:Lnet/minecraft/class_4185;official fLgvn;f:Lghl;
-
contextMessage
- Mappings:
Namespace Name Mixin selector named contextMessageLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;contextMessage:Lnet/minecraft/client/font/MultilineText;intermediary field_39729Lnet/minecraft/class_7543;field_39729:Lnet/minecraft/class_5489;official tLgvn;t:Lgif;
-
selectionList
- Mappings:
Namespace Name Mixin selector named selectionListLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;selectionList:Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;intermediary field_39587Lnet/minecraft/class_7543;field_39587:Lnet/minecraft/class_7543$class_7544;official uLgvn;u:Lgvn$a;
-
report
- Mappings:
Namespace Name Mixin selector named reportLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;report:Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;intermediary field_39588Lnet/minecraft/class_7543;field_39588:Lnet/minecraft/class_7566$class_8772;official vLgvn;v:Lhes$a;
-
newReportConsumer
- Mappings:
Namespace Name Mixin selector named newReportConsumerLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;newReportConsumer:Ljava/util/function/Consumer;intermediary field_39589Lnet/minecraft/class_7543;field_39589:Ljava/util/function/Consumer;official wLgvn;w:Ljava/util/function/Consumer;
-
listAdder
- Mappings:
Namespace Name Mixin selector named listAdderLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;listAdder:Lnet/minecraft/client/session/report/MessagesListAdder;intermediary field_39590Lnet/minecraft/class_7543;field_39590:Lnet/minecraft/class_7541;official xLgvn;x:Lgvm;
-
-
Constructor Details
-
ChatSelectionScreen
public ChatSelectionScreen(@Nullable Screen parent, AbuseReportContext reporter, ChatAbuseReport.Builder report, Consumer<ChatAbuseReport.Builder> newReportConsumer) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/report/AbuseReportContext;Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;Ljava/util/function/Consumer;)Vintermediary <init>Lnet/minecraft/class_7543;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_7566$class_8772;Ljava/util/function/Consumer;)Vofficial <init>Lgvn;<init>(Lgqj;Lhez;Lhes$a;Ljava/util/function/Consumer;)V
-
-
Method Details
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
isSentByReportedPlayer
- Mappings:
Namespace Name Mixin selector named isSentByReportedPlayerLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;isSentByReportedPlayer(Lnet/minecraft/client/session/report/log/ReceivedMessage;)Zintermediary method_44495Lnet/minecraft/class_7543;method_44495(Lnet/minecraft/class_7557;)Zofficial aLgvn;a(Lheo;)Z
-
addMessages
private void addMessages()- Mappings:
Namespace Name Mixin selector named addMessagesLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;addMessages()Vintermediary method_44504Lnet/minecraft/class_7543;method_44504()Vofficial oLgvn;o()V
-
addMoreMessages
void addMoreMessages()- Mappings:
Namespace Name Mixin selector named addMoreMessagesLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;addMoreMessages()Vintermediary method_44507Lnet/minecraft/class_7543;method_44507()Vofficial pLgvn;p()V
-
setDoneButtonActivation
void setDoneButtonActivation()- Mappings:
Namespace Name Mixin selector named setDoneButtonActivationLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;setDoneButtonActivation()Vintermediary method_44509Lnet/minecraft/class_7543;method_44509()Vofficial FLgvn;F()V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLgip;a(Lggy;IIF)V
-
close
public void close() -
getNarratedTitle
- Overrides:
getNarratedTitlein classScreen- Mappings:
Namespace Name Mixin selector named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;official iLgqj;i()Lyi;
-