Class ReportReasonSelectionScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.reporting.ReportReasonSelectionScreen
- All Implemented Interfaces:
- ContainerEventHandler,- GuiEventListener,- Renderable,- TabOrderedElement
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screens.ScreenScreen.NarratableSearchResult
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final int(package private) ReportReasonprivate static final intprivate final Screenprivate final Consumer<ReportReason>private static final intprivate static final Componentprivate static final Componentprivate static final ComponentFields inherited from class net.minecraft.client.gui.screens.ScreenBACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListenerDOUBLE_CLICK_THRESHOLD_MS
- 
Constructor SummaryConstructorsConstructorDescriptionReportReasonSelectionScreen(Screen p_239438_, ReportReason p_239439_, Consumer<ReportReason> p_239440_) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate intprivate intprivate intprivate intprivate intprotected voidinit()voidonClose()voidrender(GuiGraphics p_282815_, int p_283039_, int p_283620_, float p_281336_) voidrenderBackground(GuiGraphics p_298834_, int p_299010_, int p_300733_, float p_298483_) Methods inherited from class net.minecraft.client.gui.screens.Screenadded, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onFilesDrop, rebuildWidgets, removed, removeWidget, renderDirtBackground, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandlergetFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandlercharTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenermouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElementgetTabOrderGroup
- 
Field Details- 
REASON_TITLE
- 
REASON_DESCRIPTION
- 
READ_INFO_LABEL
- 
FOOTER_HEIGHTprivate static final int FOOTER_HEIGHT- See Also:
 
- 
BUTTON_WIDTHprivate static final int BUTTON_WIDTH- See Also:
 
- 
BUTTON_HEIGHTprivate static final int BUTTON_HEIGHT- See Also:
 
- 
CONTENT_WIDTHprivate static final int CONTENT_WIDTH- See Also:
 
- 
PADDINGprivate static final int PADDING- See Also:
 
- 
lastScreen
- 
reasonSelectionList
- 
currentlySelectedReason
- 
onSelectedReason
 
- 
- 
Constructor Details- 
ReportReasonSelectionScreenpublic ReportReasonSelectionScreen(@Nullable Screen p_239438_, @Nullable ReportReason p_239439_, Consumer<ReportReason> p_239440_) 
 
- 
- 
Method Details- 
initprotected void init()
- 
render- Specified by:
- renderin interface- Renderable
- Overrides:
- renderin class- Screen
 
- 
renderBackground- Overrides:
- renderBackgroundin class- Screen
 
- 
buttonTopprivate int buttonTop()
- 
contentLeftprivate int contentLeft()
- 
contentRightprivate int contentRight()
- 
descriptionTopprivate int descriptionTop()
- 
descriptionBottomprivate int descriptionBottom()
- 
onClosepublic void onClose()
 
-