Class TestInstanceBlockScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.TestInstanceBlockScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen
intermediary net/minecraft/class_10643
official gbw
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Text
private @Nullable CyclingButtonWidget
<Boolean> private @Nullable ButtonWidget
private static final int
private static final int
private static final Text
private @Nullable CyclingButtonWidget
<BlockRotation> private @Nullable ButtonWidget
private static final Text
private @Nullable TextFieldWidget
private @Nullable TextFieldWidget
private @Nullable TextFieldWidget
private @Nullable ScrollableTextWidget
private static final Text
private @Nullable TextFieldWidget
private final TestInstanceBlockEntity
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, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
private static int
getRoundedWidth
(int total) private static float
getWidth
(int total) private int
getX
(int index, int total) void
handleStatus
(Text status, Optional<Vec3i> size) protected void
init()
Called when a screen should be initialized.private void
onCancel()
private void
onDone()
private static int
private void
refresh()
private void
refresh
(boolean initial) void
render
(DrawContext context, int mouseX, int mouseY, float deltaTicks) void
renderBackground
(DrawContext context, int mouseX, int mouseY, float deltaTicks) Renders the background of this screen.private static Text
rotationAsText
(BlockRotation rotation) private void
Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, close, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, removed, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldHideStatusEffectHud, shouldPause, switchFocus, tick, updateNarrator
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
getBorder, 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
-
TEST_ID_TEXT
- Mappings:
Namespace Name Mixin selector named TEST_ID_TEXT
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;TEST_ID_TEXT:Lnet/minecraft/text/Text;
intermediary field_56048
Lnet/minecraft/class_10643;field_56048:Lnet/minecraft/class_2561;
official a
Lgbw;a:Lxg;
-
SIZE_TEXT
- Mappings:
Namespace Name Mixin selector named SIZE_TEXT
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;SIZE_TEXT:Lnet/minecraft/text/Text;
intermediary field_56049
Lnet/minecraft/class_10643;field_56049:Lnet/minecraft/class_2561;
official b
Lgbw;b:Lxg;
-
ENTITIES_TEXT
- Mappings:
Namespace Name Mixin selector named ENTITIES_TEXT
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;ENTITIES_TEXT:Lnet/minecraft/text/Text;
intermediary field_56050
Lnet/minecraft/class_10643;field_56050:Lnet/minecraft/class_2561;
official c
Lgbw;c:Lxg;
-
ROTATION_TEXT
- Mappings:
Namespace Name Mixin selector named ROTATION_TEXT
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;ROTATION_TEXT:Lnet/minecraft/text/Text;
intermediary field_56051
Lnet/minecraft/class_10643;field_56051:Lnet/minecraft/class_2561;
official d
Lgbw;d:Lxg;
-
field_56052
private static final int field_56052- See Also:
- Mappings:
Namespace Name Mixin selector named field_56052
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;field_56052:I
intermediary field_56052
Lnet/minecraft/class_10643;field_56052:I
official s
Lgbw;s:I
-
field_56053
private static final int field_56053- See Also:
- Mappings:
Namespace Name Mixin selector named field_56053
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;field_56053:I
intermediary field_56053
Lnet/minecraft/class_10643;field_56053:I
official u
Lgbw;u:I
-
testInstanceBlockEntity
- Mappings:
Namespace Name Mixin selector named testInstanceBlockEntity
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;testInstanceBlockEntity:Lnet/minecraft/block/entity/TestInstanceBlockEntity;
intermediary field_56054
Lnet/minecraft/class_10643;field_56054:Lnet/minecraft/class_10638;
official v
Lgbw;v:Leaj;
-
testIdTextField
- Mappings:
Namespace Name Mixin selector named testIdTextField
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;testIdTextField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
intermediary field_56055
Lnet/minecraft/class_10643;field_56055:Lnet/minecraft/class_342;
official w
Lgbw;w:Lfuh;
-
sizeXField
- Mappings:
Namespace Name Mixin selector named sizeXField
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;sizeXField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
intermediary field_56056
Lnet/minecraft/class_10643;field_56056:Lnet/minecraft/class_342;
official x
Lgbw;x:Lfuh;
-
sizeYField
- Mappings:
Namespace Name Mixin selector named sizeYField
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;sizeYField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
intermediary field_56057
Lnet/minecraft/class_10643;field_56057:Lnet/minecraft/class_342;
official y
Lgbw;y:Lfuh;
-
sizeZField
- Mappings:
Namespace Name Mixin selector named sizeZField
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;sizeZField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
intermediary field_56058
Lnet/minecraft/class_10643;field_56058:Lnet/minecraft/class_342;
official z
Lgbw;z:Lfuh;
-
statusWidget
- Mappings:
Namespace Name Mixin selector named statusWidget
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;statusWidget:Lnet/minecraft/client/gui/widget/ScrollableTextWidget;
intermediary field_56043
Lnet/minecraft/class_10643;field_56043:Lnet/minecraft/class_8577;
official A
Lgbw;A:Lfui;
-
saveButton
- Mappings:
Namespace Name Mixin selector named saveButton
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;saveButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
intermediary field_56044
Lnet/minecraft/class_10643;field_56044:Lnet/minecraft/class_4185;
official B
Lgbw;B:Lfty;
-
exportButton
- Mappings:
Namespace Name Mixin selector named exportButton
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;exportButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
intermediary field_56045
Lnet/minecraft/class_10643;field_56045:Lnet/minecraft/class_4185;
official C
Lgbw;C:Lfty;
-
entitiesButton
- Mappings:
Namespace Name Mixin selector named entitiesButton
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;entitiesButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
intermediary field_56046
Lnet/minecraft/class_10643;field_56046:Lnet/minecraft/class_5676;
official D
Lgbw;D:Lfuf;
-
rotationButton
- Mappings:
Namespace Name Mixin selector named rotationButton
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;rotationButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
intermediary field_56047
Lnet/minecraft/class_10643;field_56047:Lnet/minecraft/class_5676;
official E
Lgbw;E:Lfuf;
-
-
Constructor Details
-
TestInstanceBlockScreen
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;<init>(Lnet/minecraft/block/entity/TestInstanceBlockEntity;)V
intermediary <init>
Lnet/minecraft/class_10643;<init>(Lnet/minecraft/class_10638;)V
official <init>
Lgbw;<init>(Leaj;)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.
-
refresh
private void refresh()- Mappings:
Namespace Name Mixin selector named refresh
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;refresh()V
intermediary method_66819
Lnet/minecraft/class_10643;method_66819()V
official m
Lgbw;m()V
-
rotationAsText
- Mappings:
Namespace Name Mixin selector named rotationAsText
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;rotationAsText(Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/text/Text;
intermediary method_66804
Lnet/minecraft/class_10643;method_66804(Lnet/minecraft/class_2470;)Lnet/minecraft/class_2561;
official a
Lgbw;a(Ldui;)Lxg;
-
setSize
- Mappings:
Namespace Name Mixin selector named setSize
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;setSize(Lnet/minecraft/util/math/Vec3i;)V
intermediary method_66808
Lnet/minecraft/class_10643;method_66808(Lnet/minecraft/class_2382;)V
official a
Lgbw;a(Lkb;)V
-
getX
private int getX(int index, int total) - Mappings:
Namespace Name Mixin selector named getX
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;getX(II)I
intermediary method_66801
Lnet/minecraft/class_10643;method_66801(II)I
official a
Lgbw;a(II)I
-
getRoundedWidth
private static int getRoundedWidth(int total) - Mappings:
Namespace Name Mixin selector named getRoundedWidth
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;getRoundedWidth(I)I
intermediary method_66800
Lnet/minecraft/class_10643;method_66800(I)I
official a
Lgbw;a(I)I
-
getWidth
private static float getWidth(int total) - Mappings:
Namespace Name Mixin selector named getWidth
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;getWidth(I)F
intermediary method_66811
Lnet/minecraft/class_10643;method_66811(I)F
official b
Lgbw;b(I)F
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
official a
Lfvb;a(Lftk;IIF)V
-
refresh
private void refresh(boolean initial) - Mappings:
Namespace Name Mixin selector named refresh
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;refresh(Z)V
intermediary method_66815
Lnet/minecraft/class_10643;method_66815(Z)V
official c
Lgbw;c(Z)V
-
onDone
private void onDone()- Mappings:
Namespace Name Mixin selector named onDone
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;onDone()V
intermediary method_66798
Lnet/minecraft/class_10643;method_66798()V
official E
Lgbw;E()V
-
executeAction
- Mappings:
Namespace Name Mixin selector named executeAction
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;executeAction(Lnet/minecraft/network/packet/c2s/play/TestInstanceBlockActionC2SPacket$Action;)Z
intermediary method_66802
Lnet/minecraft/class_10643;method_66802(Lnet/minecraft/class_10616$class_10617;)Z
official a
Lgbw;a(Lajb$a;)Z
-
handleStatus
- Mappings:
Namespace Name Mixin selector named handleStatus
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;handleStatus(Lnet/minecraft/text/Text;Ljava/util/Optional;)V
intermediary method_66809
Lnet/minecraft/class_10643;method_66809(Lnet/minecraft/class_2561;Ljava/util/Optional;)V
official a
Lgbw;a(Lxg;Ljava/util/Optional;)V
-
onCancel
private void onCancel()- Mappings:
Namespace Name Mixin selector named onCancel
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;onCancel()V
intermediary method_66799
Lnet/minecraft/class_10643;method_66799()V
official F
Lgbw;F()V
-
parse
- Mappings:
Namespace Name Mixin selector named parse
Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;parse(Ljava/lang/String;)I
intermediary method_66807
Lnet/minecraft/class_10643;method_66807(Ljava/lang/String;)I
official a
Lgbw;a(Ljava/lang/String;)I
-
renderBackground
Renders the background of this screen.If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.
- Overrides:
renderBackground
in classScreen
- Mappings:
Namespace Name Mixin selector named renderBackground
Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_25420
Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
official b
Lfzq;b(Lftk;IIF)V
-