Class AbuseReportReasonScreen
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.AbuseReportReasonScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name official exgintermediary net/minecraft/class_7551named net/minecraft/client/gui/screen/report/AbuseReportReasonScreen
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate static final intprivate static final intprivate static final Text(package private) @Nullable AbuseReportReasonprivate static final intprivate final Consumer<AbuseReportReason>private static final intprivate static final Textprivate static final intFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, LIGHT_DIRT_BACKGROUND_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionAbuseReportReasonScreen(@Nullable Screen parent, @Nullable AbuseReportReason reason, Consumer<AbuseReportReason> reasonConsumer) -
Method Summary
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawBorder, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawHorizontalLine, drawNineSlicedTexture, drawNineSlicedTexture, drawNineSlicedTexture, drawRepeatingTexture, drawSprite, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawTextWithShadow, drawTextWithShadow, drawVerticalLine, drawWithOutline, enableScissor, fill, fill, fillGradient, fillGradient, fillGradientMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector official aLexg;a:Lsv;intermediary field_39612Lnet/minecraft/class_7551;field_39612:Lnet/minecraft/class_2561;named TITLE_TEXTLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
-
DESCRIPTION_TEXT
- Mappings:
Namespace Name Mixin selector official bLexg;b:Lsv;intermediary field_39613Lnet/minecraft/class_7551;field_39613:Lnet/minecraft/class_2561;named DESCRIPTION_TEXTLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;DESCRIPTION_TEXT:Lnet/minecraft/text/Text;
-
READ_INFO_TEXT
- Mappings:
Namespace Name Mixin selector official cLexg;c:Lsv;intermediary field_39754Lnet/minecraft/class_7551;field_39754:Lnet/minecraft/class_2561;named READ_INFO_TEXTLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;READ_INFO_TEXT:Lnet/minecraft/text/Text;
-
REASON_LIST_BOTTOM_MARGIN
private static final int REASON_LIST_BOTTOM_MARGIN- See Also:
- Mappings:
Namespace Name Mixin selector official oLexg;o:Iintermediary field_39614Lnet/minecraft/class_7551;field_39614:Inamed REASON_LIST_BOTTOM_MARGINLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;REASON_LIST_BOTTOM_MARGIN:I
-
DONE_BUTTON_WIDTH
private static final int DONE_BUTTON_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official pLexg;p:Iintermediary field_39732Lnet/minecraft/class_7551;field_39732:Inamed DONE_BUTTON_WIDTHLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;DONE_BUTTON_WIDTH:I
-
DONE_BUTTON_HEIGHT
private static final int DONE_BUTTON_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector official qLexg;q:Iintermediary field_39733Lnet/minecraft/class_7551;field_39733:Inamed DONE_BUTTON_HEIGHTLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;DONE_BUTTON_HEIGHT:I
-
SCREEN_WIDTH
private static final int SCREEN_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official rLexg;r:Iintermediary field_39734Lnet/minecraft/class_7551;field_39734:Inamed SCREEN_WIDTHLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;SCREEN_WIDTH:I
-
TOP_MARGIN
private static final int TOP_MARGIN- See Also:
- Mappings:
Namespace Name Mixin selector official sLexg;s:Iintermediary field_39735Lnet/minecraft/class_7551;field_39735:Inamed TOP_MARGINLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;TOP_MARGIN:I
-
parent
- Mappings:
Namespace Name Mixin selector official tLexg;t:Leti;intermediary field_39615Lnet/minecraft/class_7551;field_39615:Lnet/minecraft/class_437;named parentLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
reasonList
- Mappings:
Namespace Name Mixin selector official uLexg;u:Lexg$a;intermediary field_39616Lnet/minecraft/class_7551;field_39616:Lnet/minecraft/class_7551$class_7552;named reasonListLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;reasonList:Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen$ReasonListWidget;
-
reason
- Mappings:
Namespace Name Mixin selector official vLexg;v:Lfei;intermediary field_39778Lnet/minecraft/class_7551;field_39778:Lnet/minecraft/class_7573;named reasonLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;reason:Lnet/minecraft/client/report/AbuseReportReason;
-
reasonConsumer
- Mappings:
Namespace Name Mixin selector official wLexg;w:Ljava/util/function/Consumer;intermediary field_39618Lnet/minecraft/class_7551;field_39618:Ljava/util/function/Consumer;named reasonConsumerLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;reasonConsumer:Ljava/util/function/Consumer;
-
-
Constructor Details
-
AbuseReportReasonScreen
public AbuseReportReasonScreen(@Nullable @Nullable Screen parent, @Nullable @Nullable AbuseReportReason reason, Consumer<AbuseReportReason> reasonConsumer) - Mappings:
Namespace Name Mixin selector official <init>Lexg;<init>(Leti;Lfei;Ljava/util/function/Consumer;)Vintermediary <init>Lnet/minecraft/class_7551;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7573;Ljava/util/function/Consumer;)Vnamed <init>Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/report/AbuseReportReason;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.
This should call
Screen.setInitialFocus(net.minecraft.client.gui.Element)to set the element that is initially focused. -
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLepf;a(Lehi;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
getDoneButtonY
private int getDoneButtonY()- Mappings:
Namespace Name Mixin selector official mLexg;m()Iintermediary method_44674Lnet/minecraft/class_7551;method_44674()Inamed getDoneButtonYLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getDoneButtonY()I
-
getLeft
private int getLeft()- Mappings:
Namespace Name Mixin selector official BLexg;B()Iintermediary method_44675Lnet/minecraft/class_7551;method_44675()Inamed getLeftLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getLeft()I
-
getRight
private int getRight()- Mappings:
Namespace Name Mixin selector official CLexg;C()Iintermediary method_44676Lnet/minecraft/class_7551;method_44676()Inamed getRightLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getRight()I
-
getTop
private int getTop()- Mappings:
Namespace Name Mixin selector official DLexg;D()Iintermediary method_44668Lnet/minecraft/class_7551;method_44668()Inamed getTopLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getTop()I
-
getBottom
private int getBottom()- Mappings:
Namespace Name Mixin selector official ELexg;E()Iintermediary method_44669Lnet/minecraft/class_7551;method_44669()Inamed getBottomLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getBottom()I
-
close
public void close()
-