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 official fbzintermediary net/minecraft/class_7543named net/minecraft/client/gui/screen/report/ChatSelectionScreen
-
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.class_8772>(package private) final ChatAbuseReport.class_8772private final AbuseReportContextprivate static final TextFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionChatSelectionScreen(@Nullable Screen parent, AbuseReportContext reporter, ChatAbuseReport.class_8772 report, Consumer<ChatAbuseReport.class_8772> 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 delta) voidrenderBackground(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.(package private) voidMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackgroundTexture, renderInGameBackground, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenErrorMethods 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
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
CHECKMARK_ICON_TEXTURE
- Mappings:
Namespace Name Mixin selector official aLfbz;a:Laer;intermediary field_45559Lnet/minecraft/class_7543;field_45559:Lnet/minecraft/class_2960;named CHECKMARK_ICON_TEXTURELnet/minecraft/client/gui/screen/report/ChatSelectionScreen;CHECKMARK_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
-
TITLE
- Mappings:
Namespace Name Mixin selector official bLfbz;b:Ltf;intermediary field_39727Lnet/minecraft/class_7543;field_39727:Lnet/minecraft/class_2561;named TITLELnet/minecraft/client/gui/screen/report/ChatSelectionScreen;TITLE:Lnet/minecraft/text/Text;
-
CONTEXT_MESSAGE
- Mappings:
Namespace Name Mixin selector official cLfbz;c:Ltf;intermediary field_39728Lnet/minecraft/class_7543;field_39728:Lnet/minecraft/class_2561;named CONTEXT_MESSAGELnet/minecraft/client/gui/screen/report/ChatSelectionScreen;CONTEXT_MESSAGE:Lnet/minecraft/text/Text;
-
parent
- Mappings:
Namespace Name Mixin selector official kLfbz;k:Leya;intermediary field_39584Lnet/minecraft/class_7543;field_39584:Lnet/minecraft/class_437;named parentLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
reporter
- Mappings:
Namespace Name Mixin selector official lLfbz;l:Lfjp;intermediary field_39585Lnet/minecraft/class_7543;field_39585:Lnet/minecraft/class_7574;named reporterLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;reporter:Lnet/minecraft/client/report/AbuseReportContext;
-
doneButton
- Mappings:
Namespace Name Mixin selector official mLfbz;m:Lesg;intermediary field_39586Lnet/minecraft/class_7543;field_39586:Lnet/minecraft/class_4185;named doneButtonLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;doneButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
contextMessage
- Mappings:
Namespace Name Mixin selector official nLfbz;n:Lesz;intermediary field_39729Lnet/minecraft/class_7543;field_39729:Lnet/minecraft/class_5489;named contextMessageLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;contextMessage:Lnet/minecraft/client/font/MultilineText;
-
selectionList
- Mappings:
Namespace Name Mixin selector official oLfbz;o:Lfbz$a;intermediary field_39587Lnet/minecraft/class_7543;field_39587:Lnet/minecraft/class_7543$class_7544;named selectionListLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;selectionList:Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;
-
report
- Mappings:
Namespace Name Mixin selector official pLfbz;p:Lfji$a;intermediary field_39588Lnet/minecraft/class_7543;field_39588:Lnet/minecraft/class_7566$class_8772;named reportLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;report:Lnet/minecraft/client/report/ChatAbuseReport$class_8772;
-
newReportConsumer
- Mappings:
Namespace Name Mixin selector official qLfbz;q:Ljava/util/function/Consumer;intermediary field_39589Lnet/minecraft/class_7543;field_39589:Ljava/util/function/Consumer;named newReportConsumerLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;newReportConsumer:Ljava/util/function/Consumer;
-
listAdder
- Mappings:
Namespace Name Mixin selector official sLfbz;s:Lfby;intermediary field_39590Lnet/minecraft/class_7543;field_39590:Lnet/minecraft/class_7541;named listAdderLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;listAdder:Lnet/minecraft/client/report/MessagesListAdder;
-
-
Constructor Details
-
ChatSelectionScreen
public ChatSelectionScreen(@Nullable @Nullable Screen parent, AbuseReportContext reporter, ChatAbuseReport.class_8772 report, Consumer<ChatAbuseReport.class_8772> newReportConsumer) - Mappings:
Namespace Name Mixin selector official <init>Lfbz;<init>(Leya;Lfjp;Lfji$a;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;)Vnamed <init>Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/report/AbuseReportContext;Lnet/minecraft/client/report/ChatAbuseReport$class_8772;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.
This should call
Screen.setInitialFocus(net.minecraft.client.gui.Element)to set the element that is initially focused. -
isSentByReportedPlayer
- Mappings:
Namespace Name Mixin selector official aLfbz;a(Lfje;)Zintermediary method_44495Lnet/minecraft/class_7543;method_44495(Lnet/minecraft/class_7557;)Znamed isSentByReportedPlayerLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;isSentByReportedPlayer(Lnet/minecraft/client/report/log/ReceivedMessage;)Z
-
addMessages
private void addMessages()- Mappings:
Namespace Name Mixin selector official lLfbz;l()Vintermediary method_44504Lnet/minecraft/class_7543;method_44504()Vnamed addMessagesLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;addMessages()V
-
addMoreMessages
void addMoreMessages()- Mappings:
Namespace Name Mixin selector official CLfbz;C()Vintermediary method_44507Lnet/minecraft/class_7543;method_44507()Vnamed addMoreMessagesLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;addMoreMessages()V
-
setDoneButtonActivation
void setDoneButtonActivation()- Mappings:
Namespace Name Mixin selector official DLfbz;D()Vintermediary method_44509Lnet/minecraft/class_7543;method_44509()Vnamed setDoneButtonActivationLnet/minecraft/client/gui/screen/report/ChatSelectionScreen;setDoneButtonActivation()V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLeti;a(Lerv;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
renderBackground
Renders the background of this screen.If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.
- Overrides:
renderBackgroundin classScreen- Mappings:
Namespace Name Mixin selector official bLeya;b(Lerv;IIF)Vintermediary method_25420Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)Vnamed renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
close
public void close() -
getNarratedTitle
- Overrides:
getNarratedTitlein classScreen- Mappings:
Namespace Name Mixin selector official eLeya;e()Ltf;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
-