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 ghr
- 
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, 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, 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, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, removed, 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, 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 aLghr;a:Lxo;
 - 
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 bLghr;b:Lxo;
 - 
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 cLghr;c:Lxo;
 - 
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 dLghr;d:Lxo;
 - 
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 eLghr;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 fLghr;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 uLghr;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 vLghr;v:Lecu;
 - 
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 wLghr;w:Lfxx;
 - 
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 xLghr;x:Lfxx;
 - 
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 yLghr;y:Lfxx;
 - 
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 zLghr;z:Lfxx;
 - 
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 ALghr;A:Lfxy;
 - 
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 BLghr;B:Lfxo;
 - 
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 CLghr;C:Lfxo;
 - 
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 DLghr;D:Lfxv;
 - 
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 ELghr;E:Lfxv;
 
 - 
 - 
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>Lghr;<init>(Lecu;)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 lLghr;l()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 aLghr;a(Ldwu;)Lxo;
 - 
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 aLghr;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 aLghr;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 aLghr;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 bLghr;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 aLfys;a(Lfxb;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 cLghr;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 mLghr;m()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 aLghr;a(Lajo$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 aLghr;a(Lxo;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 nLghr;n()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 aLghr;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 bLget;b(Lfxb;IIF)V
 
 -