Class AbuseReportReasonScreen
java.lang.Object
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 named net/minecraft/client/gui/screen/report/AbuseReportReasonScreenintermediary net/minecraft/class_7551official grq
-
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 int(package private) final ThreePartsLayoutWidgetprivate static final Text(package private) @Nullable AbuseReportReasonprivate final Consumer<AbuseReportReason> (package private) final AbuseReportTypeprivate static final Textprivate static final intFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, width -
Constructor Summary
ConstructorsConstructorDescriptionAbuseReportReasonScreen(@Nullable Screen parent, @Nullable AbuseReportReason reason, AbuseReportType reportType, Consumer<AbuseReportReason> reasonConsumer) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private intprivate intprivate intgetLeft()(package private) intprivate intgetRight()private intgetTop()private intgetWidth()protected voidinit()Called when a screen should be initialized.protected voidvoidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, allowRotatingPanorama, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, canInterruptOtherScreen, children, clearAndInit, clearChildren, deferSubtitles, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasUsageText, init, insertText, isMouseOver, isValidCharacterForName, keepOpenThroughPortal, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, remove, removed, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, shouldPause, showsStatusEffects, switchFocus, tick, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods 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
getBorder, isClickable, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named TITLE_TEXTLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;TITLE_TEXT:Lnet/minecraft/text/Text;intermediary field_39612Lnet/minecraft/class_7551;field_39612:Lnet/minecraft/class_2561;official aLgrq;a:Lxx;
-
DESCRIPTION_TEXT
- Mappings:
Namespace Name Mixin selector named DESCRIPTION_TEXTLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;DESCRIPTION_TEXT:Lnet/minecraft/text/Text;intermediary field_39613Lnet/minecraft/class_7551;field_39613:Lnet/minecraft/class_2561;official bLgrq;b:Lxx;
-
READ_INFO_TEXT
- Mappings:
Namespace Name Mixin selector named READ_INFO_TEXTLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;READ_INFO_TEXT:Lnet/minecraft/text/Text;intermediary field_39754Lnet/minecraft/class_7551;field_39754:Lnet/minecraft/class_2561;official cLgrq;c:Lxx;
-
field_49546
private static final int field_49546- See Also:
- Mappings:
Namespace Name Mixin selector named field_49546Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;field_49546:Iintermediary field_49546Lnet/minecraft/class_7551;field_49546:Iofficial dLgrq;d:I
-
field_49547
private static final int field_49547- See Also:
- Mappings:
Namespace Name Mixin selector named field_49547Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;field_49547:Iintermediary field_49547Lnet/minecraft/class_7551;field_49547:Iofficial eLgrq;e:I
-
TOP_MARGIN
private static final int TOP_MARGIN- See Also:
- Mappings:
Namespace Name Mixin selector named TOP_MARGINLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;TOP_MARGIN:Iintermediary field_39735Lnet/minecraft/class_7551;field_39735:Iofficial fLgrq;f:I
-
parent
- Mappings:
Namespace Name Mixin selector named parentLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;parent:Lnet/minecraft/client/gui/screen/Screen;intermediary field_39615Lnet/minecraft/class_7551;field_39615:Lnet/minecraft/class_437;official tLgrq;t:Lgmj;
-
reasonList
- Mappings:
Namespace Name Mixin selector named reasonListLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;reasonList:Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen$ReasonListWidget;intermediary field_39616Lnet/minecraft/class_7551;field_39616:Lnet/minecraft/class_7551$class_7552;official uLgrq;u:Lgrq$a;
-
reason
- Mappings:
Namespace Name Mixin selector named reasonLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;reason:Lnet/minecraft/client/session/report/AbuseReportReason;intermediary field_39778Lnet/minecraft/class_7551;field_39778:Lnet/minecraft/class_7573;official vLgrq;v:Lhat;
-
reasonConsumer
- Mappings:
Namespace Name Mixin selector named reasonConsumerLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;reasonConsumer:Ljava/util/function/Consumer;intermediary field_39618Lnet/minecraft/class_7551;field_39618:Ljava/util/function/Consumer;official wLgrq;w:Ljava/util/function/Consumer;
-
layout
- Mappings:
Namespace Name Mixin selector named layoutLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;intermediary field_49548Lnet/minecraft/class_7551;field_49548:Lnet/minecraft/class_8132;official xLgrq;x:Lgjc;
-
reportType
- Mappings:
Namespace Name Mixin selector named reportTypeLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;reportType:Lnet/minecraft/client/session/report/AbuseReportType;intermediary field_52852Lnet/minecraft/class_7551;field_52852:Lnet/minecraft/class_8776;official yLgrq;y:Lhau;
-
-
Constructor Details
-
AbuseReportReasonScreen
public AbuseReportReasonScreen(@Nullable @Nullable Screen parent, @Nullable @Nullable AbuseReportReason reason, AbuseReportType reportType, Consumer<AbuseReportReason> reasonConsumer) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/report/AbuseReportReason;Lnet/minecraft/client/session/report/AbuseReportType;Ljava/util/function/Consumer;)Vintermediary <init>Lnet/minecraft/class_7551;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7573;Lnet/minecraft/class_8776;Ljava/util/function/Consumer;)Vofficial <init>Lgrq;<init>(Lgmj;Lhat;Lhau;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.
-
refreshWidgetPositions
protected void refreshWidgetPositions()- Overrides:
refreshWidgetPositionsin classScreen- Mappings:
Namespace Name Mixin selector named refreshWidgetPositionsLnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()Vintermediary method_48640Lnet/minecraft/class_437;method_48640()Vofficial cLgmj;c()V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLget;a(Lgdd;IIF)V
-
getLeft
private int getLeft()- Mappings:
Namespace Name Mixin selector named getLeftLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getLeft()Iintermediary method_57764Lnet/minecraft/class_7551;method_57764()Iofficial oLgrq;o()I
-
getRight
private int getRight()- Mappings:
Namespace Name Mixin selector named getRightLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getRight()Iintermediary method_57759Lnet/minecraft/class_7551;method_57759()Iofficial pLgrq;p()I
-
getTop
private int getTop()- Mappings:
Namespace Name Mixin selector named getTopLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getTop()Iintermediary method_44668Lnet/minecraft/class_7551;method_44668()Iofficial HLgrq;H()I
-
getBottom
private int getBottom()- Mappings:
Namespace Name Mixin selector named getBottomLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getBottom()Iintermediary method_44669Lnet/minecraft/class_7551;method_44669()Iofficial ILgrq;I()I
-
getWidth
private int getWidth()- Mappings:
Namespace Name Mixin selector named getWidthLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getWidth()Iintermediary method_57760Lnet/minecraft/class_7551;method_57760()Iofficial JLgrq;J()I
-
getHeight
private int getHeight()- Mappings:
Namespace Name Mixin selector named getHeightLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getHeight()Iintermediary method_57761Lnet/minecraft/class_7551;method_57761()Iofficial KLgrq;K()I
-
getReasonListHeight
int getReasonListHeight()- Mappings:
Namespace Name Mixin selector named getReasonListHeightLnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getReasonListHeight()Iintermediary method_57762Lnet/minecraft/class_7551;method_57762()Iofficial LLgrq;L()I
-
close
public void close()
-