Class StructureBlockScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.StructureBlockScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name official ewuintermediary net/minecraft/class_497named net/minecraft/client/gui/screen/ingame/StructureBlockScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ButtonWidgetprivate CyclingButtonWidget<Boolean>private ButtonWidgetprivate CyclingButtonWidget<BlockMirror>private ButtonWidgetprivate ButtonWidgetprivate ButtonWidgetprivate ButtonWidgetprivate ButtonWidgetprivate CyclingButtonWidget<Boolean>private CyclingButtonWidget<Boolean>private static final Textprivate final DecimalFormatprivate static final Textprivate booleanprivate static final Textprivate TextFieldWidgetprivate TextFieldWidgetprivate TextFieldWidgetprivate TextFieldWidgetprivate TextFieldWidgetprivate TextFieldWidgetprivate TextFieldWidgetprivate TextFieldWidgetprivate TextFieldWidgetprivate TextFieldWidgetprivate static final Textprivate BlockMirrorprivate StructureBlockModeprivate static final ImmutableList<StructureBlockMode>private static final ImmutableList<StructureBlockMode>private static final Textprivate BlockRotationprivate static final Textprivate static final Textprivate booleanprivate booleanprivate static final Textprivate static final Textprivate final StructureBlockBlockEntityFields inherited from class net.minecraft.client.gui.screen.Screen
client, field_44944, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcancel()voidclose()private voiddone()protected voidinit()Called when a screen should be initialized.booleankeyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.private floatparseFloat(String string) private intprivate longvoidrender(DrawContext context, int mouseX, int mouseY, float delta) voidresize(MinecraftClient client, int width, int height) booleanvoidtick()private voidprivate booleanprivate voidMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderWithTooltip, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, switchFocus, updateNarrator, wrapScreenErrorMethods 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
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
STRUCTURE_NAME_TEXT
- Mappings:
Namespace Name Mixin selector official aLewu;a:Lsw;intermediary field_26572Lnet/minecraft/class_497;field_26572:Lnet/minecraft/class_2561;named STRUCTURE_NAME_TEXTLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;STRUCTURE_NAME_TEXT:Lnet/minecraft/text/Text;
-
POSITION_TEXT
- Mappings:
Namespace Name Mixin selector official bLewu;b:Lsw;intermediary field_26573Lnet/minecraft/class_497;field_26573:Lnet/minecraft/class_2561;named POSITION_TEXTLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;POSITION_TEXT:Lnet/minecraft/text/Text;
-
SIZE_TEXT
- Mappings:
Namespace Name Mixin selector official cLewu;c:Lsw;intermediary field_26574Lnet/minecraft/class_497;field_26574:Lnet/minecraft/class_2561;named SIZE_TEXTLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;SIZE_TEXT:Lnet/minecraft/text/Text;
-
INTEGRITY_TEXT
- Mappings:
Namespace Name Mixin selector official kLewu;k:Lsw;intermediary field_26575Lnet/minecraft/class_497;field_26575:Lnet/minecraft/class_2561;named INTEGRITY_TEXTLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;INTEGRITY_TEXT:Lnet/minecraft/text/Text;
-
CUSTOM_DATA_TEXT
- Mappings:
Namespace Name Mixin selector official lLewu;l:Lsw;intermediary field_26576Lnet/minecraft/class_497;field_26576:Lnet/minecraft/class_2561;named CUSTOM_DATA_TEXTLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;CUSTOM_DATA_TEXT:Lnet/minecraft/text/Text;
-
INCLUDE_ENTITIES_TEXT
- Mappings:
Namespace Name Mixin selector official mLewu;m:Lsw;intermediary field_26577Lnet/minecraft/class_497;field_26577:Lnet/minecraft/class_2561;named INCLUDE_ENTITIES_TEXTLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;INCLUDE_ENTITIES_TEXT:Lnet/minecraft/text/Text;
-
DETECT_SIZE_TEXT
- Mappings:
Namespace Name Mixin selector official nLewu;n:Lsw;intermediary field_26578Lnet/minecraft/class_497;field_26578:Lnet/minecraft/class_2561;named DETECT_SIZE_TEXTLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;DETECT_SIZE_TEXT:Lnet/minecraft/text/Text;
-
SHOW_AIR_TEXT
- Mappings:
Namespace Name Mixin selector official oLewu;o:Lsw;intermediary field_26579Lnet/minecraft/class_497;field_26579:Lnet/minecraft/class_2561;named SHOW_AIR_TEXTLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;SHOW_AIR_TEXT:Lnet/minecraft/text/Text;
-
SHOW_BOUNDING_BOX_TEXT
- Mappings:
Namespace Name Mixin selector official pLewu;p:Lsw;intermediary field_26580Lnet/minecraft/class_497;field_26580:Lnet/minecraft/class_2561;named SHOW_BOUNDING_BOX_TEXTLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;SHOW_BOUNDING_BOX_TEXT:Lnet/minecraft/text/Text;
-
MODES
- Mappings:
Namespace Name Mixin selector official qLewu;q:Lcom/google/common/collect/ImmutableList;intermediary field_27993Lnet/minecraft/class_497;field_27993:Lcom/google/common/collect/ImmutableList;named MODESLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;MODES:Lcom/google/common/collect/ImmutableList;
-
MODES_EXCEPT_DATA
- Mappings:
Namespace Name Mixin selector official rLewu;r:Lcom/google/common/collect/ImmutableList;intermediary field_27994Lnet/minecraft/class_497;field_27994:Lcom/google/common/collect/ImmutableList;named MODES_EXCEPT_DATALnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;MODES_EXCEPT_DATA:Lcom/google/common/collect/ImmutableList;
-
structureBlock
- Mappings:
Namespace Name Mixin selector official sLewu;s:Ldaz;intermediary field_2980Lnet/minecraft/class_497;field_2980:Lnet/minecraft/class_2633;named structureBlockLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;structureBlock:Lnet/minecraft/block/entity/StructureBlockBlockEntity;
-
mirror
- Mappings:
Namespace Name Mixin selector official tLewu;t:Lcuh;intermediary field_2996Lnet/minecraft/class_497;field_2996:Lnet/minecraft/class_2415;named mirrorLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;mirror:Lnet/minecraft/util/BlockMirror;
-
rotation
- Mappings:
Namespace Name Mixin selector official uLewu;u:Lcvy;intermediary field_3003Lnet/minecraft/class_497;field_3003:Lnet/minecraft/class_2470;named rotationLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;rotation:Lnet/minecraft/util/BlockRotation;
-
mode
- Mappings:
Namespace Name Mixin selector official vLewu;v:Lddk;intermediary field_3004Lnet/minecraft/class_497;field_3004:Lnet/minecraft/class_2776;named modeLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;mode:Lnet/minecraft/block/enums/StructureBlockMode;
-
ignoreEntities
private boolean ignoreEntities- Mappings:
Namespace Name Mixin selector official wLewu;w:Zintermediary field_2985Lnet/minecraft/class_497;field_2985:Znamed ignoreEntitiesLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;ignoreEntities:Z
-
showAir
private boolean showAir- Mappings:
Namespace Name Mixin selector official xLewu;x:Zintermediary field_2997Lnet/minecraft/class_497;field_2997:Znamed showAirLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;showAir:Z
-
showBoundingBox
private boolean showBoundingBox- Mappings:
Namespace Name Mixin selector official yLewu;y:Zintermediary field_2983Lnet/minecraft/class_497;field_2983:Znamed showBoundingBoxLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;showBoundingBox:Z
-
inputName
- Mappings:
Namespace Name Mixin selector official zLewu;z:Lepl;intermediary field_3005Lnet/minecraft/class_497;field_3005:Lnet/minecraft/class_342;named inputNameLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputName:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
inputPosX
- Mappings:
Namespace Name Mixin selector official ALewu;A:Lepl;intermediary field_2982Lnet/minecraft/class_497;field_2982:Lnet/minecraft/class_342;named inputPosXLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputPosX:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
inputPosY
- Mappings:
Namespace Name Mixin selector official CLewu;C:Lepl;intermediary field_2999Lnet/minecraft/class_497;field_2999:Lnet/minecraft/class_342;named inputPosYLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputPosY:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
inputPosZ
- Mappings:
Namespace Name Mixin selector official DLewu;D:Lepl;intermediary field_3010Lnet/minecraft/class_497;field_3010:Lnet/minecraft/class_342;named inputPosZLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputPosZ:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
inputSizeX
- Mappings:
Namespace Name Mixin selector official ELewu;E:Lepl;intermediary field_2988Lnet/minecraft/class_497;field_2988:Lnet/minecraft/class_342;named inputSizeXLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputSizeX:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
inputSizeY
- Mappings:
Namespace Name Mixin selector official FLewu;F:Lepl;intermediary field_2998Lnet/minecraft/class_497;field_2998:Lnet/minecraft/class_342;named inputSizeYLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputSizeY:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
inputSizeZ
- Mappings:
Namespace Name Mixin selector official GLewu;G:Lepl;intermediary field_2978Lnet/minecraft/class_497;field_2978:Lnet/minecraft/class_342;named inputSizeZLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputSizeZ:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
inputIntegrity
- Mappings:
Namespace Name Mixin selector official HLewu;H:Lepl;intermediary field_3000Lnet/minecraft/class_497;field_3000:Lnet/minecraft/class_342;named inputIntegrityLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputIntegrity:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
inputSeed
- Mappings:
Namespace Name Mixin selector official ILewu;I:Lepl;intermediary field_2992Lnet/minecraft/class_497;field_2992:Lnet/minecraft/class_342;named inputSeedLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputSeed:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
inputMetadata
- Mappings:
Namespace Name Mixin selector official JLewu;J:Lepl;intermediary field_2986Lnet/minecraft/class_497;field_2986:Lnet/minecraft/class_342;named inputMetadataLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputMetadata:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
buttonSave
- Mappings:
Namespace Name Mixin selector official KLewu;K:Lepc;intermediary field_2987Lnet/minecraft/class_497;field_2987:Lnet/minecraft/class_4185;named buttonSaveLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonSave:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
buttonLoad
- Mappings:
Namespace Name Mixin selector official LLewu;L:Lepc;intermediary field_3006Lnet/minecraft/class_497;field_3006:Lnet/minecraft/class_4185;named buttonLoadLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonLoad:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
buttonRotate0
- Mappings:
Namespace Name Mixin selector official MLewu;M:Lepc;intermediary field_2995Lnet/minecraft/class_497;field_2995:Lnet/minecraft/class_4185;named buttonRotate0Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonRotate0:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
buttonRotate90
- Mappings:
Namespace Name Mixin selector official NLewu;N:Lepc;intermediary field_2981Lnet/minecraft/class_497;field_2981:Lnet/minecraft/class_4185;named buttonRotate90Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonRotate90:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
buttonRotate180
- Mappings:
Namespace Name Mixin selector official OLewu;O:Lepc;intermediary field_3007Lnet/minecraft/class_497;field_3007:Lnet/minecraft/class_4185;named buttonRotate180Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonRotate180:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
buttonRotate270
- Mappings:
Namespace Name Mixin selector official PLewu;P:Lepc;intermediary field_2993Lnet/minecraft/class_497;field_2993:Lnet/minecraft/class_4185;named buttonRotate270Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonRotate270:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
buttonDetect
- Mappings:
Namespace Name Mixin selector official QLewu;Q:Lepc;intermediary field_3009Lnet/minecraft/class_497;field_3009:Lnet/minecraft/class_4185;named buttonDetectLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonDetect:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
buttonEntities
- Mappings:
Namespace Name Mixin selector official RLewu;R:Lepj;intermediary field_2990Lnet/minecraft/class_497;field_2990:Lnet/minecraft/class_5676;named buttonEntitiesLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonEntities:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
buttonMirror
- Mappings:
Namespace Name Mixin selector official SLewu;S:Lepj;intermediary field_2979Lnet/minecraft/class_497;field_2979:Lnet/minecraft/class_5676;named buttonMirrorLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonMirror:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
buttonShowAir
- Mappings:
Namespace Name Mixin selector official TLewu;T:Lepj;intermediary field_3008Lnet/minecraft/class_497;field_3008:Lnet/minecraft/class_5676;named buttonShowAirLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonShowAir:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
buttonShowBoundingBox
- Mappings:
Namespace Name Mixin selector official ULewu;U:Lepj;intermediary field_3001Lnet/minecraft/class_497;field_3001:Lnet/minecraft/class_5676;named buttonShowBoundingBoxLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonShowBoundingBox:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
decimalFormat
- Mappings:
Namespace Name Mixin selector official VLewu;V:Ljava/text/DecimalFormat;intermediary field_2991Lnet/minecraft/class_497;field_2991:Ljava/text/DecimalFormat;named decimalFormatLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;decimalFormat:Ljava/text/DecimalFormat;
-
-
Constructor Details
-
StructureBlockScreen
- Mappings:
Namespace Name Mixin selector official <init>Lewu;<init>(Ldaz;)Vintermediary <init>Lnet/minecraft/class_497;<init>(Lnet/minecraft/class_2633;)Vnamed <init>Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;<init>(Lnet/minecraft/block/entity/StructureBlockBlockEntity;)V
-
-
Method Details
-
tick
public void tick() -
done
private void done()- Mappings:
Namespace Name Mixin selector official lLewu;l()Vintermediary method_2515Lnet/minecraft/class_497;method_2515()Vnamed doneLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;done()V
-
cancel
private void cancel()- Mappings:
Namespace Name Mixin selector official BLewu;B()Vintermediary method_2514Lnet/minecraft/class_497;method_2514()Vnamed cancelLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;cancel()V
-
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(net.minecraft.client.gui.Element)to set the element that is initially focused. -
resize
-
updateRotationButton
private void updateRotationButton()- Mappings:
Namespace Name Mixin selector official CLewu;C()Vintermediary method_2510Lnet/minecraft/class_497;method_2510()Vnamed updateRotationButtonLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;updateRotationButton()V
-
updateWidgets
- Mappings:
Namespace Name Mixin selector official aLewu;a(Lddk;)Vintermediary method_32650Lnet/minecraft/class_497;method_32650(Lnet/minecraft/class_2776;)Vnamed updateWidgetsLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;updateWidgets(Lnet/minecraft/block/enums/StructureBlockMode;)V
-
updateStructureBlock
- Mappings:
Namespace Name Mixin selector official aLewu;a(Ldaz$a;)Zintermediary method_2516Lnet/minecraft/class_497;method_2516(Lnet/minecraft/class_2633$class_2634;)Znamed updateStructureBlockLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;updateStructureBlock(Lnet/minecraft/block/entity/StructureBlockBlockEntity$Action;)Z
-
parseLong
- Mappings:
Namespace Name Mixin selector official aLewu;a(Ljava/lang/String;)Jintermediary method_2504Lnet/minecraft/class_497;method_2504(Ljava/lang/String;)Jnamed parseLongLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;parseLong(Ljava/lang/String;)J
-
parseFloat
- Mappings:
Namespace Name Mixin selector official bLewu;b(Ljava/lang/String;)Fintermediary method_2500Lnet/minecraft/class_497;method_2500(Ljava/lang/String;)Fnamed parseFloatLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;parseFloat(Ljava/lang/String;)F
-
parseInt
- Mappings:
Namespace Name Mixin selector official cLewu;c(Ljava/lang/String;)Iintermediary method_2517Lnet/minecraft/class_497;method_2517(Ljava/lang/String;)Inamed parseIntLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;parseInt(Ljava/lang/String;)I
-
close
public void close() -
keyPressed
public boolean keyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- Specified by:
keyPressedin interfaceElement- Specified by:
keyPressedin interfaceParentElement- Overrides:
keyPressedin classScreen- Parameters:
keyCode- the named key code of the event as described in theGLFWclassscanCode- the unique/platform-specific scan code of the keyboard inputmodifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLeqm;a(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Znamed keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Z
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLeqa;a(Leor;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
shouldPause
public boolean shouldPause()- Overrides:
shouldPausein classScreen- Mappings:
Namespace Name Mixin selector official az_Leuj;az_()Zintermediary method_25421Lnet/minecraft/class_437;method_25421()Znamed shouldPauseLnet/minecraft/client/gui/screen/Screen;shouldPause()Z
-