类 ChatReportScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.reporting.ChatReportScreen
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
字段概要
字段修饰符和类型字段说明private static final int
private static final int
private static final int
private static final int
private MultiLineEditBox
private static final Component
private static final int
(专用程序包) final Screen
private static final org.slf4j.Logger
private static final Component
private static final Component
private MultiLineLabel
private static final Component
private static final Component
private static final Component
private static final Component
private static final Component
private ChatReportBuilder
private final ReportingContext
private static final int
private static final int
private static final Component
private static final Component
private Button
从类继承的字段 net.minecraft.client.gui.screens.Screen
BACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, width
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器限定符构造器说明ChatReportScreen
(Screen pLastScreen, ReportingContext pReportingContext, UUID pReportId) private
ChatReportScreen
(Screen pLastScreen, ReportingContext pReportingContext, ChatReportBuilder pReportBuilder) ChatReportScreen
(Screen pLastScreen, ReportingContext pReportingContext, ChatReportBuilder.ChatReport pReport) -
方法概要
修饰符和类型方法说明(专用程序包) void
private int
private int
private int
private int
private int
private int
private int
private void
displayReportSendError
(Component pMessage) protected void
init()
boolean
mouseReleased
(double pMouseX, double pMouseY, int pButton) void
onClose()
private void
private void
onReportSendError
(Throwable pThrowable) private void
void
removed()
void
render
(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick) (专用程序包) void
private int
private int
private void
void
tick()
从类继承的方法 net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onFilesDrop, rebuildWidgets, removeWidget, renderBackground, renderDirtBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
从类继承的方法 net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseScrolled, nextFocusPath, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
BUTTON_WIDTH
private static final int BUTTON_WIDTH- 另请参阅:
-
BUTTON_HEIGHT
private static final int BUTTON_HEIGHT- 另请参阅:
-
BUTTON_MARGIN
private static final int BUTTON_MARGIN- 另请参阅:
-
BUTTON_MARGIN_HALF
private static final int BUTTON_MARGIN_HALF- 另请参阅:
-
LABEL_HEIGHT
private static final int LABEL_HEIGHT- 另请参阅:
-
SCREEN_WIDTH
private static final int SCREEN_WIDTH- 另请参阅:
-
SCREEN_HEIGHT
private static final int SCREEN_HEIGHT- 另请参阅:
-
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
-
reportBuilder
-
cannotBuildReason
-
-
构造器详细资料
-
ChatReportScreen
private ChatReportScreen(@Nullable Screen pLastScreen, ReportingContext pReportingContext, ChatReportBuilder pReportBuilder) -
ChatReportScreen
public ChatReportScreen(@Nullable Screen pLastScreen, ReportingContext pReportingContext, UUID pReportId) -
ChatReportScreen
public ChatReportScreen(@Nullable Screen pLastScreen, ReportingContext pReportingContext, ChatReportBuilder.ChatReport pReport)
-
-
方法详细资料
-
init
protected void init() -
onReportChanged
private void onReportChanged() -
sendReport
private void sendReport() -
onReportSendSuccess
private void onReportSendSuccess() -
onReportSendError
-
displayReportSendError
-
saveDraft
void saveDraft() -
clearDraft
void clearDraft() -
render
- 指定者:
render
在接口中Renderable
- 覆盖:
render
在类中Screen
-
tick
public void tick() -
onClose
public void onClose() -
removed
public void removed() -
mouseReleased
public boolean mouseReleased(double pMouseX, double pMouseY, int pButton) -
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()
-