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.report.ChatSelectionScreen
- All Implemented Interfaces:
Drawable
,Element
,ParentElement
- Mappings:
Namespace Name official esw
intermediary net/minecraft/class_7543
named net/minecraft/client/gui/screen/report/ChatSelectionScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Text
private MultilineText
private ButtonWidget
private MessagesListAdder
private final Consumer<ChatAbuseReport>
(package private) final ChatAbuseReport
private final AbuseReportContext
private static final Text
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionChatSelectionScreen
(@Nullable Screen parent, AbuseReportContext reporter, ChatAbuseReport report, Consumer<ChatAbuseReport> newReportConsumer) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
(package private) void
void
close()
protected void
init()
Called when a screen should be initialized.private boolean
isSentByReportedPlayer
(ReceivedMessage message) void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) (package private) void
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, renderWithTooltip, resize, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, tick, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods 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, setZOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods 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 a
Lesw;a:Lss;
intermediary field_39727
Lnet/minecraft/class_7543;field_39727:Lnet/minecraft/class_2561;
named TITLE
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;TITLE:Lnet/minecraft/text/Text;
-
CONTEXT_MESSAGE
- Mappings:
Namespace Name Mixin selector official b
Lesw;b:Lss;
intermediary field_39728
Lnet/minecraft/class_7543;field_39728:Lnet/minecraft/class_2561;
named CONTEXT_MESSAGE
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;CONTEXT_MESSAGE:Lnet/minecraft/text/Text;
-
parent
- Mappings:
Namespace Name Mixin selector official c
Lesw;c:Lepb;
intermediary field_39584
Lnet/minecraft/class_7543;field_39584:Lnet/minecraft/class_437;
named parent
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
reporter
- Mappings:
Namespace Name Mixin selector official n
Lesw;n:Lezu;
intermediary field_39585
Lnet/minecraft/class_7543;field_39585:Lnet/minecraft/class_7574;
named reporter
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;reporter:Lnet/minecraft/client/report/AbuseReportContext;
-
doneButton
- Mappings:
Namespace Name Mixin selector official o
Lesw;o:Leky;
intermediary field_39586
Lnet/minecraft/class_7543;field_39586:Lnet/minecraft/class_4185;
named doneButton
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;doneButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
contextMessage
- Mappings:
Namespace Name Mixin selector official p
Lesw;p:Lelq;
intermediary field_39729
Lnet/minecraft/class_7543;field_39729:Lnet/minecraft/class_5489;
named contextMessage
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;contextMessage:Lnet/minecraft/client/font/MultilineText;
-
selectionList
- Mappings:
Namespace Name Mixin selector official q
Lesw;q:Lesw$a;
intermediary field_39587
Lnet/minecraft/class_7543;field_39587:Lnet/minecraft/class_7543$class_7544;
named selectionList
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;selectionList:Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;
-
report
- Mappings:
Namespace Name Mixin selector official r
Lesw;r:Lezq;
intermediary field_39588
Lnet/minecraft/class_7543;field_39588:Lnet/minecraft/class_7566;
named report
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;report:Lnet/minecraft/client/report/ChatAbuseReport;
-
newReportConsumer
- Mappings:
Namespace Name Mixin selector official s
Lesw;s:Ljava/util/function/Consumer;
intermediary field_39589
Lnet/minecraft/class_7543;field_39589:Ljava/util/function/Consumer;
named newReportConsumer
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;newReportConsumer:Ljava/util/function/Consumer;
-
listAdder
- Mappings:
Namespace Name Mixin selector official t
Lesw;t:Lesv;
intermediary field_39590
Lnet/minecraft/class_7543;field_39590:Lnet/minecraft/class_7541;
named listAdder
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;listAdder:Lnet/minecraft/client/report/MessagesListAdder;
-
-
Constructor Details
-
ChatSelectionScreen
public ChatSelectionScreen(@Nullable @Nullable Screen parent, AbuseReportContext reporter, ChatAbuseReport report, Consumer<ChatAbuseReport> newReportConsumer) - Mappings:
Namespace Name Mixin selector official <init>
Lesw;<init>(Lepb;Lezu;Lezq;Ljava/util/function/Consumer;)V
intermediary <init>
Lnet/minecraft/class_7543;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_7566;Ljava/util/function/Consumer;)V
named <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;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 a
Lesw;a(Lezn;)Z
intermediary method_44495
Lnet/minecraft/class_7543;method_44495(Lnet/minecraft/class_7557;)Z
named isSentByReportedPlayer
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;isSentByReportedPlayer(Lnet/minecraft/client/report/log/ReceivedMessage;)Z
-
addMessages
private void addMessages()- Mappings:
Namespace Name Mixin selector official i
Lesw;i()V
intermediary method_44504
Lnet/minecraft/class_7543;method_44504()V
named addMessages
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;addMessages()V
-
addMoreMessages
void addMoreMessages()- Mappings:
Namespace Name Mixin selector official w
Lesw;w()V
intermediary method_44507
Lnet/minecraft/class_7543;method_44507()V
named addMoreMessages
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;addMoreMessages()V
-
setDoneButtonActivation
void setDoneButtonActivation()- Mappings:
Namespace Name Mixin selector official x
Lesw;x()V
intermediary method_44509
Lnet/minecraft/class_7543;method_44509()V
named setDoneButtonActivation
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;setDoneButtonActivation()V
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Lely;a(Leed;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
close
public void close() -
getNarratedTitle
- Overrides:
getNarratedTitle
in classScreen
- Mappings:
Namespace Name Mixin selector official ah_
Lepb;ah_()Lss;
intermediary method_25435
Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;
named getNarratedTitle
Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
-