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 gks
-
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 TestInstanceBlockEntityprivate 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
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.booleanprivate voidonCancel()private voidonDone()private static intprivate voidrefresh()private voidrefresh(boolean initial) voidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) 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, close, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, method_72798, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, 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, method_72784, 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 aLgks;a:Lxt;
-
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 bLgks;b:Lxt;
-
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 cLgks;c:Lxt;
-
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 dLgks;d:Lxt;
-
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 eLgks;e: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 fLgks;f:I
-
TEXT_COLOR
private static final int TEXT_COLOR- See Also:
- Mappings:
Namespace Name Mixin selector named TEXT_COLORLnet/minecraft/client/gui/screen/ingame/TestInstanceBlockScreen;TEXT_COLOR:Iintermediary field_60480Lnet/minecraft/class_10643;field_60480:Iofficial tLgks;t: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 uLgks;u:Leej;
-
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 vLgks;v:Lfzo;
-
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 wLgks;w:Lfzo;
-
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 xLgks;x:Lfzo;
-
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 yLgks;y:Lfzo;
-
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 zLgks;z:Lfzp;
-
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 ALgks;A:Lfzf;
-
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 BLgks;B:Lfzf;
-
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 CLgks;C:Lfzm;
-
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 DLgks;D:Lfzm;
-
-
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>Lgks;<init>(Leej;)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 nLgks;n()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 aLgks;a(Ldxw;)Lxt;
-
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 aLgks;a(Lkg;)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 aLgks;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 aLgks;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 bLgks;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 aLgaj;a(Lfyt;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 cLgks;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 oLgks;o()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 aLgks;a(Lajv$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 aLgks;a(Lxt;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 GLgks;G()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 aLgks;a(Ljava/lang/String;)I
-
method_73150
public boolean method_73150()- Overrides:
method_73150in classScreen- Mappings:
Namespace Name Mixin selector named method_73150Lnet/minecraft/client/gui/screen/Screen;method_73150()Zintermediary method_73150Lnet/minecraft/class_437;method_73150()Zofficial tLght;t()Z
-