类 ReportReasonSelectionScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.reporting.ReportReasonSelectionScreen
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
字段概要
字段修饰符和类型字段说明private static final int
private static final int
private static final int
(专用程序包) ReportReason
private static final int
private final Screen
private final Consumer<ReportReason>
private static final int
private static final Component
private static final Component
private static final Component
从类继承的字段 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
-
构造器概要
构造器构造器说明ReportReasonSelectionScreen
(Screen pLastScreen, ReportReason pCurrentlySelectedReason, Consumer<ReportReason> pOnSelectedReason) -
方法概要
修饰符和类型方法说明private int
private int
private int
private int
private int
protected void
init()
void
onClose()
void
render
(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick) 从类继承的方法 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, removed, removeWidget, renderBackground, renderDirtBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, tick, 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, mouseReleased, mouseScrolled, nextFocusPath, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
REASON_TITLE
-
REASON_DESCRIPTION
-
READ_INFO_LABEL
-
FOOTER_HEIGHT
private static final int FOOTER_HEIGHT- 另请参阅:
-
BUTTON_WIDTH
private static final int BUTTON_WIDTH- 另请参阅:
-
BUTTON_HEIGHT
private static final int BUTTON_HEIGHT- 另请参阅:
-
CONTENT_WIDTH
private static final int CONTENT_WIDTH- 另请参阅:
-
PADDING
private static final int PADDING- 另请参阅:
-
lastScreen
-
reasonSelectionList
-
currentlySelectedReason
-
onSelectedReason
-
-
构造器详细资料
-
ReportReasonSelectionScreen
public ReportReasonSelectionScreen(@Nullable Screen pLastScreen, @Nullable ReportReason pCurrentlySelectedReason, Consumer<ReportReason> pOnSelectedReason)
-
-
方法详细资料
-
init
protected void init() -
render
- 指定者:
render
在接口中Renderable
- 覆盖:
render
在类中Screen
-
buttonTop
private int buttonTop() -
contentLeft
private int contentLeft() -
contentRight
private int contentRight() -
descriptionTop
private int descriptionTop() -
descriptionBottom
private int descriptionBottom() -
onClose
public void onClose()
-