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 official fph
intermediary net/minecraft/class_7551
named 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 Text
private static final int
private static final int
(package private) final ThreePartsLayoutWidget
private static final Text
(package private) @Nullable AbuseReportReason
private final Consumer
<AbuseReportReason> private static final Text
private static final int
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
Fields 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
Modifier and TypeMethodDescriptionvoid
close()
private int
private int
private int
getLeft()
(package private) int
private int
getRight()
private int
getTop()
private int
getWidth()
protected void
init()
Called when a screen should be initialized.protected void
void
render
(DrawContext context, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, blur, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods 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 official a
Lfph;a:Lwu;
intermediary field_39612
Lnet/minecraft/class_7551;field_39612:Lnet/minecraft/class_2561;
named TITLE_TEXT
Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
-
DESCRIPTION_TEXT
- Mappings:
Namespace Name Mixin selector official b
Lfph;b:Lwu;
intermediary field_39613
Lnet/minecraft/class_7551;field_39613:Lnet/minecraft/class_2561;
named DESCRIPTION_TEXT
Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;DESCRIPTION_TEXT:Lnet/minecraft/text/Text;
-
READ_INFO_TEXT
- Mappings:
Namespace Name Mixin selector official c
Lfph;c:Lwu;
intermediary field_39754
Lnet/minecraft/class_7551;field_39754:Lnet/minecraft/class_2561;
named READ_INFO_TEXT
Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;READ_INFO_TEXT:Lnet/minecraft/text/Text;
-
field_49546
private static final int field_49546- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lfph;d:I
intermediary field_49546
Lnet/minecraft/class_7551;field_49546:I
named field_49546
Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;field_49546:I
-
field_49547
private static final int field_49547- See Also:
- Mappings:
Namespace Name Mixin selector official r
Lfph;r:I
intermediary field_49547
Lnet/minecraft/class_7551;field_49547:I
named field_49547
Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;field_49547:I
-
TOP_MARGIN
private static final int TOP_MARGIN- See Also:
- Mappings:
Namespace Name Mixin selector official s
Lfph;s:I
intermediary field_39735
Lnet/minecraft/class_7551;field_39735:I
named TOP_MARGIN
Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;TOP_MARGIN:I
-
parent
- Mappings:
Namespace Name Mixin selector official u
Lfph;u:Lfld;
intermediary field_39615
Lnet/minecraft/class_7551;field_39615:Lnet/minecraft/class_437;
named parent
Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
reasonList
- Mappings:
Namespace Name Mixin selector official v
Lfph;v:Lfph$a;
intermediary field_39616
Lnet/minecraft/class_7551;field_39616:Lnet/minecraft/class_7551$class_7552;
named reasonList
Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;reasonList:Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen$ReasonListWidget;
-
reason
- Mappings:
Namespace Name Mixin selector official w
Lfph;w:Lfxc;
intermediary field_39778
Lnet/minecraft/class_7551;field_39778:Lnet/minecraft/class_7573;
named reason
Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;reason:Lnet/minecraft/client/session/report/AbuseReportReason;
-
reasonConsumer
- Mappings:
Namespace Name Mixin selector official x
Lfph;x:Ljava/util/function/Consumer;
intermediary field_39618
Lnet/minecraft/class_7551;field_39618:Ljava/util/function/Consumer;
named reasonConsumer
Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;reasonConsumer:Ljava/util/function/Consumer;
-
layout
- Mappings:
Namespace Name Mixin selector official y
Lfph;y:Lfir;
intermediary field_49548
Lnet/minecraft/class_7551;field_49548:Lnet/minecraft/class_8132;
named layout
Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
-
-
Constructor Details
-
AbuseReportReasonScreen
public AbuseReportReasonScreen(@Nullable @Nullable Screen parent, @Nullable @Nullable AbuseReportReason reason, Consumer<AbuseReportReason> reasonConsumer) - Mappings:
Namespace Name Mixin selector official <init>
Lfph;<init>(Lfld;Lfxc;Ljava/util/function/Consumer;)V
intermediary <init>
Lnet/minecraft/class_7551;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7573;Ljava/util/function/Consumer;)V
named <init>
Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/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()
to set the element that is initially focused. -
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Lfgh;a(Lfer;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
getLeft
private int getLeft()- Mappings:
Namespace Name Mixin selector official m
Lfph;m()I
intermediary method_57764
Lnet/minecraft/class_7551;method_57764()I
named getLeft
Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getLeft()I
-
getRight
private int getRight()- Mappings:
Namespace Name Mixin selector official C
Lfph;C()I
intermediary method_57759
Lnet/minecraft/class_7551;method_57759()I
named getRight
Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getRight()I
-
getTop
private int getTop()- Mappings:
Namespace Name Mixin selector official D
Lfph;D()I
intermediary method_44668
Lnet/minecraft/class_7551;method_44668()I
named getTop
Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getTop()I
-
getBottom
private int getBottom()- Mappings:
Namespace Name Mixin selector official E
Lfph;E()I
intermediary method_44669
Lnet/minecraft/class_7551;method_44669()I
named getBottom
Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getBottom()I
-
getWidth
private int getWidth()- Mappings:
Namespace Name Mixin selector official F
Lfph;F()I
intermediary method_57760
Lnet/minecraft/class_7551;method_57760()I
named getWidth
Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getWidth()I
-
getHeight
private int getHeight()- Mappings:
Namespace Name Mixin selector official I
Lfph;I()I
intermediary method_57761
Lnet/minecraft/class_7551;method_57761()I
named getHeight
Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getHeight()I
-
getReasonListHeight
int getReasonListHeight()- Mappings:
Namespace Name Mixin selector official J
Lfph;J()I
intermediary method_57762
Lnet/minecraft/class_7551;method_57762()I
named getReasonListHeight
Lnet/minecraft/client/gui/screen/report/AbuseReportReasonScreen;getReasonListHeight()I
-
close
public void close()
-