Class ChatReportScreen
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.reporting.ChatReportScreen
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,Widget
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
(package private) class
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private static final int
(package private) ChatReportBuilder.CannotBuildReason
private MultiLineEditBox
private static final Component
private static final int
(package private) final Screen
private static final org.slf4j.Logger
private static final Component
private static final Component
private MultiLineLabel
private ChatReportBuilder
private static final Component
private static final Component
private static final Component
private static final Component
private static final Component
private final ReportingContext
private static final int
private static final int
private static final Component
private static final Component
private Button
Fields inherited from class net.minecraft.client.gui.screens.Screen
font, height, itemRenderer, minecraft, passEvents, renderables, title, width
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
ConstructorDescriptionChatReportScreen
(Screen p_239116_, ReportingContext p_239117_, UUID p_239118_) -
Method Summary
Modifier and TypeMethodDescriptionprivate int
private int
private int
private int
private int
private int
private int
private void
displayReportSendError
(Component p_242978_) protected void
init()
boolean
mouseReleased
(double p_239350_, double p_239351_, int p_239352_) void
onClose()
private void
private void
onReportSendError
(Throwable p_240314_) private void
void
private int
private int
private void
void
tick()
Methods inherited from class net.minecraft.client.gui.screens.Screen
addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, children, clearWidgets, findNarratableWidget, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, shouldCloseOnEsc, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
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.components.events.ContainerEventHandler
changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseScrolled, setInitialFocus
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
-
Field Details
-
BUTTON_WIDTH
private static final int BUTTON_WIDTH- See Also:
-
BUTTON_HEIGHT
private static final int BUTTON_HEIGHT- See Also:
-
BUTTON_MARGIN
private static final int BUTTON_MARGIN- See Also:
-
BUTTON_MARGIN_HALF
private static final int BUTTON_MARGIN_HALF- See Also:
-
LABEL_HEIGHT
private static final int LABEL_HEIGHT- See Also:
-
SCREEN_WIDTH
private static final int SCREEN_WIDTH- See Also:
-
SCREEN_HEIGHT
private static final int SCREEN_HEIGHT- See Also:
-
OBSERVED_WHAT_LABEL
-
SELECT_REASON
-
MORE_COMMENTS_LABEL
-
DESCRIBE_PLACEHOLDER
-
REPORT_SENT_MESSAGE
-
SELECT_CHAT_MESSAGE
-
REPORT_SENDING_TITLE
-
REPORT_SENT_TITLE
-
REPORT_ERROR_TITLE
-
REPORT_SEND_GENERIC_ERROR
-
LOGGER
private static final org.slf4j.Logger LOGGER -
lastScreen
-
reportingContext
-
reasonDescriptionLabel
-
commentBox
-
sendButton
-
report
-
cannotBuildReason
-
-
Constructor Details
-
ChatReportScreen
-
-
Method Details
-
init
protected void init() -
onReportChanged
private void onReportChanged() -
sendReport
private void sendReport() -
onReportSendSuccess
private void onReportSendSuccess() -
onReportSendError
-
displayReportSendError
-
render
-
tick
public void tick() -
onClose
public void onClose() -
mouseReleased
public boolean mouseReleased(double p_239350_, double p_239351_, int p_239352_) -
contentLeft
private int contentLeft() -
contentRight
private int contentRight() -
contentTop
private int contentTop() -
contentBottom
private int contentBottom() -
selectChatTop
private int selectChatTop() -
selectInfoTop
private int selectInfoTop() -
commentBoxTop
private int commentBoxTop() -
commentBoxBottom
private int commentBoxBottom() -
completeButtonTop
private int completeButtonTop()
-