Class ChatSelectionScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.abusereport.ChatSelectionScreen
- All Implemented Interfaces:
Drawable,Element,ParentElement
- Mappings:
Namespace Name official eojintermediary net/minecraft/class_7543named net/minecraft/client/gui/screen/abusereport/ChatSelectionScreen
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate MultilineTextprivate ButtonWidgetprivate MessagesListAdderprivate final Consumer<ChatAbuseReport>(package private) final ChatAbuseReportprivate final AbuseReporterprivate static final Textprivate @Nullable List<OrderedText>Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionChatSelectionScreen(@Nullable Screen parent, AbuseReporter reporter, ChatAbuseReport report, Consumer<ChatAbuseReport> newReportConsumer) -
Method Summary
Modifier and TypeMethodDescriptionprivate void(package private) voidvoidclose()protected voidinit()Called when a screen should be initialized.private booleanisSentByReportedPlayer(ReceivedMessage message) voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta) (package private) void(package private) voidsetTooltip(@Nullable List<OrderedText> tooltip) Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, shouldCloseOnEsc, shouldPause, tick, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, 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
-
TITLE
- Mappings:
Namespace Name Mixin selector official aLeoj;a:Lrm;intermediary field_39727Lnet/minecraft/class_7543;field_39727:Lnet/minecraft/class_2561;named TITLELnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;TITLE:Lnet/minecraft/text/Text;
-
CONTEXT_MESSAGE
- Mappings:
Namespace Name Mixin selector official bLeoj;b:Lrm;intermediary field_39728Lnet/minecraft/class_7543;field_39728:Lnet/minecraft/class_2561;named CONTEXT_MESSAGELnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;CONTEXT_MESSAGE:Lnet/minecraft/text/Text;
-
parent
- Mappings:
Namespace Name Mixin selector official cLeoj;c:Leks;intermediary field_39584Lnet/minecraft/class_7543;field_39584:Lnet/minecraft/class_437;named parentLnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
reporter
- Mappings:
Namespace Name Mixin selector official nLeoj;n:Leus;intermediary field_39585Lnet/minecraft/class_7543;field_39585:Lnet/minecraft/class_7574;named reporterLnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;reporter:Lnet/minecraft/client/network/abusereport/AbuseReporter;
-
doneButton
- Mappings:
Namespace Name Mixin selector official oLeoj;o:Legv;intermediary field_39586Lnet/minecraft/class_7543;field_39586:Lnet/minecraft/class_4185;named doneButtonLnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;doneButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
contextMessage
- Mappings:
Namespace Name Mixin selector official pLeoj;p:Lehi;intermediary field_39729Lnet/minecraft/class_7543;field_39729:Lnet/minecraft/class_5489;named contextMessageLnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;contextMessage:Lnet/minecraft/client/font/MultilineText;
-
selectionList
- Mappings:
Namespace Name Mixin selector official qLeoj;q:Leoj$a;intermediary field_39587Lnet/minecraft/class_7543;field_39587:Lnet/minecraft/class_7543$class_7544;named selectionListLnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;selectionList:Lnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen$SelectionListWidget;
-
report
- Mappings:
Namespace Name Mixin selector official rLeoj;r:Leup;intermediary field_39588Lnet/minecraft/class_7543;field_39588:Lnet/minecraft/class_7566;named reportLnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;report:Lnet/minecraft/client/network/abusereport/ChatAbuseReport;
-
newReportConsumer
- Mappings:
Namespace Name Mixin selector official sLeoj;s:Ljava/util/function/Consumer;intermediary field_39589Lnet/minecraft/class_7543;field_39589:Ljava/util/function/Consumer;named newReportConsumerLnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;newReportConsumer:Ljava/util/function/Consumer;
-
listAdder
- Mappings:
Namespace Name Mixin selector official tLeoj;t:Leoi;intermediary field_39590Lnet/minecraft/class_7543;field_39590:Lnet/minecraft/class_7541;named listAdderLnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;listAdder:Lnet/minecraft/client/network/abusereport/MessagesListAdder;
-
tooltip
- Mappings:
Namespace Name Mixin selector official uLeoj;u:Ljava/util/List;intermediary field_39591Lnet/minecraft/class_7543;field_39591:Ljava/util/List;named tooltipLnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;tooltip:Ljava/util/List;
-
-
Constructor Details
-
ChatSelectionScreen
public ChatSelectionScreen(@Nullable @Nullable Screen parent, AbuseReporter reporter, ChatAbuseReport report, Consumer<ChatAbuseReport> newReportConsumer) - Mappings:
Namespace Name Mixin selector official <init>Leoj;<init>(Leks;Leus;Leup;Ljava/util/function/Consumer;)Vintermediary <init>Lnet/minecraft/class_7543;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_7566;Ljava/util/function/Consumer;)Vnamed <init>Lnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/network/abusereport/AbuseReporter;Lnet/minecraft/client/network/abusereport/ChatAbuseReport;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 official aLeoj;a(Leul;)Zintermediary method_44495Lnet/minecraft/class_7543;method_44495(Lnet/minecraft/class_7557;)Znamed isSentByReportedPlayerLnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;isSentByReportedPlayer(Lnet/minecraft/client/network/chat/ReceivedMessage;)Z
-
addMessages
private void addMessages()- Mappings:
Namespace Name Mixin selector official hLeoj;h()Vintermediary method_44504Lnet/minecraft/class_7543;method_44504()Vnamed addMessagesLnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;addMessages()V
-
addMoreMessages
void addMoreMessages()- Mappings:
Namespace Name Mixin selector official jLeoj;j()Vintermediary method_44507Lnet/minecraft/class_7543;method_44507()Vnamed addMoreMessagesLnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;addMoreMessages()V
-
setDoneButtonActivation
void setDoneButtonActivation()- Mappings:
Namespace Name Mixin selector official yLeoj;y()Vintermediary method_44509Lnet/minecraft/class_7543;method_44509()Vnamed setDoneButtonActivationLnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;setDoneButtonActivation()V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLehu;a(Ldzv;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
close
public void close() -
getNarratedTitle
- Overrides:
getNarratedTitlein classScreen- Mappings:
Namespace Name Mixin selector official ae_Leks;ae_()Lrm;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
-
setTooltip
- Mappings:
Namespace Name Mixin selector official bLeoj;b(Ljava/util/List;)Vintermediary method_44498Lnet/minecraft/class_7543;method_44498(Ljava/util/List;)Vnamed setTooltipLnet/minecraft/client/gui/screen/abusereport/ChatSelectionScreen;setTooltip(Ljava/util/List;)V
-