Class StructureBlockScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.StructureBlockScreen
- All Implemented Interfaces:
Drawable,Element,ParentElement,TickableElement
- Mappings:
Namespace Name official ebsintermediary net/minecraft/class_497named net/minecraft/client/gui/screen/ingame/StructureBlockScreen
-
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 Textprivate DecimalFormatprivate static Textprivate booleanprivate static Textprivate TextFieldWidgetprivate TextFieldWidgetprivate TextFieldWidgetprivate TextFieldWidgetprivate TextFieldWidgetprivate TextFieldWidgetprivate TextFieldWidgetprivate TextFieldWidgetprivate TextFieldWidgetprivate TextFieldWidgetprivate static Textprivate BlockMirrorprivate StructureBlockModeprivate static ImmutableList<StructureBlockMode>private static ImmutableList<StructureBlockMode>private static Textprivate BlockRotationprivate static Textprivate static Textprivate booleanprivate booleanprivate static Textprivate static Textprivate StructureBlockBlockEntityFields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcancel()private voiddone()protected voidinit()Called when a screen should be initialized.booleanbooleankeyPressed(int keyCode, int scanCode, int modifiers)Callback for when a key down event has been captured.private voidmethod_32650(StructureBlockMode structureBlockMode)voidonClose()private floatparseFloat(String string)private intprivate longvoidremoved()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)voidresize(MinecraftClient client, int width, int height)voidtick()private voidprivate booleanMethods inherited from class net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, method_35719, method_35720, setZOffsetMethods 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.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
STRUCTURE_NAME_TEXT
- Mappings:
Namespace Name Mixin selector official aLebs;a:Lon;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 bLebs;b:Lon;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 cLebs;c:Lon;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 pLebs;p:Lon;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 qLebs;q:Lon;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 rLebs;r:Lon;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 sLebs;s:Lon;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 tLebs;t:Lon;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 uLebs;u:Lon;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 vLebs;v: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 wLebs;w: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 xLebs;x:Lcja;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 yLebs;y:Lcdf;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 zLebs;z:Lcer;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 ALebs;A:Lcli;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 BLebs;B: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 CLebs;C: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 DLebs;D: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 ELebs;E:Ldwk;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 FLebs;F:Ldwk;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 GLebs;G:Ldwk;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 HLebs;H:Ldwk;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 ILebs;I:Ldwk;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 JLebs;J:Ldwk;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 KLebs;K:Ldwk;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 LLebs;L:Ldwk;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 MLebs;M:Ldwk;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 NLebs;N:Ldwk;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 OLebs;O:Ldwc;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 PLebs;P:Ldwc;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 QLebs;Q:Ldwc;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 RLebs;R:Ldwc;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 SLebs;S:Ldwc;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 TLebs;T:Ldwc;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 ULebs;U:Ldwc;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 VLebs;V:Ldwi;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 WLebs;W:Ldwi;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 XLebs;X:Ldwi;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 YLebs;Y:Ldwi;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 ZLebs;Z: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>Lebs;<init>(Lcja;)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()- Specified by:
tickin interfaceTickableElement- Overrides:
tickin classScreen- Mappings:
Namespace Name Mixin selector official dLdwv;d()Vintermediary method_25393Lnet/minecraft/class_4893;method_25393()Vnamed tickLnet/minecraft/client/gui/screen/TickableElement;tick()V
-
done
private void done()- Mappings:
Namespace Name Mixin selector official hLebs;h()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 iLebs;i()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.
-
resize
-
removed
public void removed() -
updateRotationButton
private void updateRotationButton()- Mappings:
Namespace Name Mixin selector official kLebs;k()Vintermediary method_2510Lnet/minecraft/class_497;method_2510()Vnamed updateRotationButtonLnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;updateRotationButton()V
-
method_32650
- Mappings:
Namespace Name Mixin selector official aLebs;a(Lcli;)Vintermediary method_32650Lnet/minecraft/class_497;method_32650(Lnet/minecraft/class_2776;)Vnamed method_32650Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;method_32650(Lnet/minecraft/block/enums/StructureBlockMode;)V
-
updateStructureBlock
- Mappings:
Namespace Name Mixin selector official aLebs;a(Lcja$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 bLebs;b(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 cLebs;c(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 dLebs;d(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
-
onClose
public void onClose() -
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:
Keyboard.onKey(long, int, int, int, int),GLFW.GLFW_KEY_Q,GLFWKeyCallbackI.invoke(long, int, int, int, int)- Mappings:
Namespace Name Mixin selector official aLdxb;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 aLdwy;a(Ldpo;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
isPauseScreen
public boolean isPauseScreen()- Overrides:
isPauseScreenin classScreen- Mappings:
Namespace Name Mixin selector official aC_Ldzm;aC_()Zintermediary method_25421Lnet/minecraft/class_437;method_25421()Znamed isPauseScreenLnet/minecraft/client/gui/screen/Screen;isPauseScreen()Z
-