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 ewrintermediary 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, 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 aLewr;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 bLewr;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 cLewr;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 jLewr;j: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 kLewr;k: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 lLewr;l: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 mLewr;m: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 nLewr;n: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 oLewr;o: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 pLewr;p: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 qLewr;q: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 rLewr;r:Ldax;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 sLewr;s:Lcuf;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 tLewr;t:Lcvw;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 uLewr;u:Lddi;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 vLewr;v: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 wLewr;w: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 xLewr;x: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 yLewr;y:Lepj;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 zLewr;z:Lepj;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 ALewr;A:Lepj;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 CLewr;C:Lepj;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 DLewr;D:Lepj;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 ELewr;E:Lepj;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 FLewr;F:Lepj;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 GLewr;G:Lepj;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 HLewr;H:Lepj;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 ILewr;I:Lepj;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 JLewr;J:Lepa;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 KLewr;K:Lepa;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 LLewr;L:Lepa;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 MLewr;M:Lepa;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 NLewr;N:Lepa;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 OLewr;O:Lepa;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 PLewr;P:Lepa;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 QLewr;Q:Leph;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 RLewr;R:Leph;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 SLewr;S:Leph;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 TLewr;T:Leph;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 ULewr;U: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>Lewr;<init>(Ldax;)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 lLewr;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 BLewr;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 CLewr;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 aLewr;a(Lddi;)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 aLewr;a(Ldax$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 aLewr;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 bLewr;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 cLewr;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 aLeqk;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 aLepy;a(Leop;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_Leug;az_()Zintermediary method_25421Lnet/minecraft/class_437;method_25421()Znamed shouldPauseLnet/minecraft/client/gui/screen/Screen;shouldPause()Z
-