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/TestInstanceBlockScreenintermediary net/minecraft/class_10643official gga
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate @Nullable CyclingButtonWidget<Boolean> private @Nullable ButtonWidgetprivate static final intprivate static final intprivate static final Textprivate @Nullable CyclingButtonWidget<BlockRotation> private @Nullable ButtonWidgetprivate static final Textprivate @Nullable TextFieldWidgetprivate @Nullable TextFieldWidgetprivate @Nullable TextFieldWidgetprivate @Nullable ScrollableTextWidgetprivate static final Textprivate @Nullable TextFieldWidgetprivate final TestInstanceBlockEntityFields 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, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanprivate static intgetRoundedWidth(int total) private static floatgetWidth(int total) private intgetX(int index, int total) voidhandleStatus(Text status, Optional<Vec3i> size) protected voidinit()Called when a screen should be initialized.private voidonCancel()private voidonDone()private static intprivate voidrefresh()private voidrefresh(boolean initial) voidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) voidrenderBackground(DrawContext context, int mouseX, int mouseY, float deltaTicks) Renders the background of this screen.private static TextrotationAsText(BlockRotation rotation) private voidMethods 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, 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, 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
-
TEST_ID_TEXT
- Mappings:
Namespace Name Mixin selector named TEST_ID_TEXTLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;TEST_ID_TEXT:Lnet/minecraft/text/Text;intermediary field_56048Lnet/minecraft/class_10643;field_56048:Lnet/minecraft/class_2561;official aLgga;a:Lxi;
-
SIZE_TEXT
- Mappings:
Namespace Name Mixin selector named SIZE_TEXTLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;SIZE_TEXT:Lnet/minecraft/text/Text;intermediary field_56049Lnet/minecraft/class_10643;field_56049:Lnet/minecraft/class_2561;official bLgga;b:Lxi;
-
ENTITIES_TEXT
- Mappings:
Namespace Name Mixin selector named ENTITIES_TEXTLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;ENTITIES_TEXT:Lnet/minecraft/text/Text;intermediary field_56050Lnet/minecraft/class_10643;field_56050:Lnet/minecraft/class_2561;official cLgga;c:Lxi;
-
ROTATION_TEXT
- Mappings:
Namespace Name Mixin selector named ROTATION_TEXTLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;ROTATION_TEXT:Lnet/minecraft/text/Text;intermediary field_56051Lnet/minecraft/class_10643;field_56051:Lnet/minecraft/class_2561;official dLgga;d:Lxi;
-
field_56052
private static final int field_56052- See Also:
- Mappings:
Namespace Name Mixin selector named field_56052Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;field_56052:Iintermediary field_56052Lnet/minecraft/class_10643;field_56052:Iofficial sLgga;s:I
-
field_56053
private static final int field_56053- See Also:
- Mappings:
Namespace Name Mixin selector named field_56053Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;field_56053:Iintermediary field_56053Lnet/minecraft/class_10643;field_56053:Iofficial uLgga;u:I
-
testInstanceBlockEntity
- Mappings:
Namespace Name Mixin selector named testInstanceBlockEntityLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;testInstanceBlockEntity:Lnet/minecraft/block/entity/TestInstanceBlockEntity;intermediary field_56054Lnet/minecraft/class_10643;field_56054:Lnet/minecraft/class_10638;official vLgga;v:Ledl;
-
testIdTextField
- Mappings:
Namespace Name Mixin selector named testIdTextFieldLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;testIdTextField:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_56055Lnet/minecraft/class_10643;field_56055:Lnet/minecraft/class_342;official wLgga;w:Lfyh;
-
sizeXField
- Mappings:
Namespace Name Mixin selector named sizeXFieldLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;sizeXField:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_56056Lnet/minecraft/class_10643;field_56056:Lnet/minecraft/class_342;official xLgga;x:Lfyh;
-
sizeYField
- Mappings:
Namespace Name Mixin selector named sizeYFieldLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;sizeYField:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_56057Lnet/minecraft/class_10643;field_56057:Lnet/minecraft/class_342;official yLgga;y:Lfyh;
-
sizeZField
- Mappings:
Namespace Name Mixin selector named sizeZFieldLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;sizeZField:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_56058Lnet/minecraft/class_10643;field_56058:Lnet/minecraft/class_342;official zLgga;z:Lfyh;
-
statusWidget
- Mappings:
Namespace Name Mixin selector named statusWidgetLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;statusWidget:Lnet/minecraft/client/gui/widget/ScrollableTextWidget;intermediary field_56043Lnet/minecraft/class_10643;field_56043:Lnet/minecraft/class_8577;official ALgga;A:Lfyi;
-
saveButton
- Mappings:
Namespace Name Mixin selector named saveButtonLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;saveButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_56044Lnet/minecraft/class_10643;field_56044:Lnet/minecraft/class_4185;official BLgga;B:Lfxy;
-
exportButton
- Mappings:
Namespace Name Mixin selector named exportButtonLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;exportButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_56045Lnet/minecraft/class_10643;field_56045:Lnet/minecraft/class_4185;official CLgga;C:Lfxy;
-
entitiesButton
- Mappings:
Namespace Name Mixin selector named entitiesButtonLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;entitiesButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;intermediary field_56046Lnet/minecraft/class_10643;field_56046:Lnet/minecraft/class_5676;official DLgga;D:Lfyf;
-
rotationButton
- Mappings:
Namespace Name Mixin selector named rotationButtonLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;rotationButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;intermediary field_56047Lnet/minecraft/class_10643;field_56047:Lnet/minecraft/class_5676;official ELgga;E:Lfyf;
-
-
Constructor Details
-
TestInstanceBlockScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;<init>(Lnet/minecraft/block/entity/TestInstanceBlockEntity;)Vintermediary <init>Lnet/minecraft/class_10643;<init>(Lnet/minecraft/class_10638;)Vofficial <init>Lgga;<init>(Ledl;)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 refreshLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;refresh()Vintermediary method_66819Lnet/minecraft/class_10643;method_66819()Vofficial mLgga;m()V
-
rotationAsText
- Mappings:
Namespace Name Mixin selector named rotationAsTextLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;rotationAsText(Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/text/Text;intermediary method_66804Lnet/minecraft/class_10643;method_66804(Lnet/minecraft/class_2470;)Lnet/minecraft/class_2561;official aLgga;a(Ldxe;)Lxi;
-
setSize
- Mappings:
Namespace Name Mixin selector named setSizeLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;setSize(Lnet/minecraft/util/math/Vec3i;)Vintermediary method_66808Lnet/minecraft/class_10643;method_66808(Lnet/minecraft/class_2382;)Vofficial aLgga;a(Lkc;)V
-
getX
private int getX(int index, int total) - Mappings:
Namespace Name Mixin selector named getXLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;getX(II)Iintermediary method_66801Lnet/minecraft/class_10643;method_66801(II)Iofficial aLgga;a(II)I
-
getRoundedWidth
private static int getRoundedWidth(int total) - Mappings:
Namespace Name Mixin selector named getRoundedWidthLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;getRoundedWidth(I)Iintermediary method_66800Lnet/minecraft/class_10643;method_66800(I)Iofficial aLgga;a(I)I
-
getWidth
private static float getWidth(int total) - Mappings:
Namespace Name Mixin selector named getWidthLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;getWidth(I)Fintermediary method_66811Lnet/minecraft/class_10643;method_66811(I)Fofficial bLgga;b(I)F
-
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 aLfzb;a(Lfxk;IIF)V
-
refresh
private void refresh(boolean initial) - Mappings:
Namespace Name Mixin selector named refreshLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;refresh(Z)Vintermediary method_66815Lnet/minecraft/class_10643;method_66815(Z)Vofficial cLgga;c(Z)V
-
onDone
private void onDone()- Mappings:
Namespace Name Mixin selector named onDoneLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;onDone()Vintermediary method_66798Lnet/minecraft/class_10643;method_66798()Vofficial ELgga;E()V
-
executeAction
- Mappings:
Namespace Name Mixin selector named executeActionLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;executeAction(Lnet/minecraft/network/packet/c2s/play/TestInstanceBlockActionC2SPacket$Action;)Zintermediary method_66802Lnet/minecraft/class_10643;method_66802(Lnet/minecraft/class_10616$class_10617;)Zofficial aLgga;a(Lajl$a;)Z
-
handleStatus
- Mappings:
Namespace Name Mixin selector named handleStatusLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;handleStatus(Lnet/minecraft/text/Text;Ljava/util/Optional;)Vintermediary method_66809Lnet/minecraft/class_10643;method_66809(Lnet/minecraft/class_2561;Ljava/util/Optional;)Vofficial aLgga;a(Lxi;Ljava/util/Optional;)V
-
onCancel
private void onCancel()- Mappings:
Namespace Name Mixin selector named onCancelLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;onCancel()Vintermediary method_66799Lnet/minecraft/class_10643;method_66799()Vofficial FLgga;F()V
-
parse
- Mappings:
Namespace Name Mixin selector named parseLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;parse(Ljava/lang/String;)Iintermediary method_66807Lnet/minecraft/class_10643;method_66807(Ljava/lang/String;)Iofficial aLgga;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:
renderBackgroundin classScreen- Mappings:
Namespace Name Mixin selector named renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25420Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)Vofficial bLgdr;b(Lfxk;IIF)V
-