Class StructureBlockScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class StructureBlockScreen extends Screen
Mappings:
Namespace Name
official ffo
intermediary net/minecraft/class_497
named net/minecraft/client/gui/screen/ingame/StructureBlockScreen
  • Field Details

    • STRUCTURE_NAME_TEXT

      private static final Text STRUCTURE_NAME_TEXT
      Mappings:
      Namespace Name Mixin selector
      official a Lffo;a:Lvf;
      intermediary field_26572 Lnet/minecraft/class_497;field_26572:Lnet/minecraft/class_2561;
      named STRUCTURE_NAME_TEXT Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;STRUCTURE_NAME_TEXT:Lnet/minecraft/text/Text;
    • POSITION_TEXT

      private static final Text POSITION_TEXT
      Mappings:
      Namespace Name Mixin selector
      official b Lffo;b:Lvf;
      intermediary field_26573 Lnet/minecraft/class_497;field_26573:Lnet/minecraft/class_2561;
      named POSITION_TEXT Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;POSITION_TEXT:Lnet/minecraft/text/Text;
    • SIZE_TEXT

      private static final Text SIZE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official c Lffo;c:Lvf;
      intermediary field_26574 Lnet/minecraft/class_497;field_26574:Lnet/minecraft/class_2561;
      named SIZE_TEXT Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;SIZE_TEXT:Lnet/minecraft/text/Text;
    • INTEGRITY_TEXT

      private static final Text INTEGRITY_TEXT
      Mappings:
      Namespace Name Mixin selector
      official k Lffo;k:Lvf;
      intermediary field_26575 Lnet/minecraft/class_497;field_26575:Lnet/minecraft/class_2561;
      named INTEGRITY_TEXT Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;INTEGRITY_TEXT:Lnet/minecraft/text/Text;
    • CUSTOM_DATA_TEXT

      private static final Text CUSTOM_DATA_TEXT
      Mappings:
      Namespace Name Mixin selector
      official l Lffo;l:Lvf;
      intermediary field_26576 Lnet/minecraft/class_497;field_26576:Lnet/minecraft/class_2561;
      named CUSTOM_DATA_TEXT Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;CUSTOM_DATA_TEXT:Lnet/minecraft/text/Text;
    • INCLUDE_ENTITIES_TEXT

      private static final Text INCLUDE_ENTITIES_TEXT
      Mappings:
      Namespace Name Mixin selector
      official m Lffo;m:Lvf;
      intermediary field_26577 Lnet/minecraft/class_497;field_26577:Lnet/minecraft/class_2561;
      named INCLUDE_ENTITIES_TEXT Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;INCLUDE_ENTITIES_TEXT:Lnet/minecraft/text/Text;
    • DETECT_SIZE_TEXT

      private static final Text DETECT_SIZE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official n Lffo;n:Lvf;
      intermediary field_26578 Lnet/minecraft/class_497;field_26578:Lnet/minecraft/class_2561;
      named DETECT_SIZE_TEXT Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;DETECT_SIZE_TEXT:Lnet/minecraft/text/Text;
    • SHOW_AIR_TEXT

      private static final Text SHOW_AIR_TEXT
      Mappings:
      Namespace Name Mixin selector
      official o Lffo;o:Lvf;
      intermediary field_26579 Lnet/minecraft/class_497;field_26579:Lnet/minecraft/class_2561;
      named SHOW_AIR_TEXT Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;SHOW_AIR_TEXT:Lnet/minecraft/text/Text;
    • SHOW_BOUNDING_BOX_TEXT

      private static final Text SHOW_BOUNDING_BOX_TEXT
      Mappings:
      Namespace Name Mixin selector
      official p Lffo;p:Lvf;
      intermediary field_26580 Lnet/minecraft/class_497;field_26580:Lnet/minecraft/class_2561;
      named SHOW_BOUNDING_BOX_TEXT Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;SHOW_BOUNDING_BOX_TEXT:Lnet/minecraft/text/Text;
    • MODES

      private static final ImmutableList<StructureBlockMode> MODES
      Mappings:
      Namespace Name Mixin selector
      official q Lffo;q:Lcom/google/common/collect/ImmutableList;
      intermediary field_27993 Lnet/minecraft/class_497;field_27993:Lcom/google/common/collect/ImmutableList;
      named MODES Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;MODES:Lcom/google/common/collect/ImmutableList;
    • MODES_EXCEPT_DATA

      private static final ImmutableList<StructureBlockMode> MODES_EXCEPT_DATA
      Mappings:
      Namespace Name Mixin selector
      official r Lffo;r:Lcom/google/common/collect/ImmutableList;
      intermediary field_27994 Lnet/minecraft/class_497;field_27994:Lcom/google/common/collect/ImmutableList;
      named MODES_EXCEPT_DATA Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;MODES_EXCEPT_DATA:Lcom/google/common/collect/ImmutableList;
    • structureBlock

      private final StructureBlockBlockEntity structureBlock
      Mappings:
      Namespace Name Mixin selector
      official t Lffo;t:Ldij;
      intermediary field_2980 Lnet/minecraft/class_497;field_2980:Lnet/minecraft/class_2633;
      named structureBlock Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;structureBlock:Lnet/minecraft/block/entity/StructureBlockBlockEntity;
    • mirror

      private BlockMirror mirror
      Mappings:
      Namespace Name Mixin selector
      official u Lffo;u:Ldbm;
      intermediary field_2996 Lnet/minecraft/class_497;field_2996:Lnet/minecraft/class_2415;
      named mirror Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;mirror:Lnet/minecraft/util/BlockMirror;
    • rotation

      private BlockRotation rotation
      Mappings:
      Namespace Name Mixin selector
      official v Lffo;v:Lddc;
      intermediary field_3003 Lnet/minecraft/class_497;field_3003:Lnet/minecraft/class_2470;
      named rotation Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;rotation:Lnet/minecraft/util/BlockRotation;
    • mode

      private StructureBlockMode mode
      Mappings:
      Namespace Name Mixin selector
      official w Lffo;w:Ldkr;
      intermediary field_3004 Lnet/minecraft/class_497;field_3004:Lnet/minecraft/class_2776;
      named mode Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;mode:Lnet/minecraft/block/enums/StructureBlockMode;
    • ignoreEntities

      private boolean ignoreEntities
      Mappings:
      Namespace Name Mixin selector
      official x Lffo;x:Z
      intermediary field_2985 Lnet/minecraft/class_497;field_2985:Z
      named ignoreEntities Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;ignoreEntities:Z
    • showAir

      private boolean showAir
      Mappings:
      Namespace Name Mixin selector
      official y Lffo;y:Z
      intermediary field_2997 Lnet/minecraft/class_497;field_2997:Z
      named showAir Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;showAir:Z
    • showBoundingBox

      private boolean showBoundingBox
      Mappings:
      Namespace Name Mixin selector
      official z Lffo;z:Z
      intermediary field_2983 Lnet/minecraft/class_497;field_2983:Z
      named showBoundingBox Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;showBoundingBox:Z
    • inputName

      private TextFieldWidget inputName
      Mappings:
      Namespace Name Mixin selector
      official A Lffo;A:Lexp;
      intermediary field_3005 Lnet/minecraft/class_497;field_3005:Lnet/minecraft/class_342;
      named inputName Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputName:Lnet/minecraft/client/gui/widget/TextFieldWidget;
    • inputPosX

      private TextFieldWidget inputPosX
      Mappings:
      Namespace Name Mixin selector
      official B Lffo;B:Lexp;
      intermediary field_2982 Lnet/minecraft/class_497;field_2982:Lnet/minecraft/class_342;
      named inputPosX Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputPosX:Lnet/minecraft/client/gui/widget/TextFieldWidget;
    • inputPosY

      private TextFieldWidget inputPosY
      Mappings:
      Namespace Name Mixin selector
      official C Lffo;C:Lexp;
      intermediary field_2999 Lnet/minecraft/class_497;field_2999:Lnet/minecraft/class_342;
      named inputPosY Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputPosY:Lnet/minecraft/client/gui/widget/TextFieldWidget;
    • inputPosZ

      private TextFieldWidget inputPosZ
      Mappings:
      Namespace Name Mixin selector
      official D Lffo;D:Lexp;
      intermediary field_3010 Lnet/minecraft/class_497;field_3010:Lnet/minecraft/class_342;
      named inputPosZ Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputPosZ:Lnet/minecraft/client/gui/widget/TextFieldWidget;
    • inputSizeX

      private TextFieldWidget inputSizeX
      Mappings:
      Namespace Name Mixin selector
      official E Lffo;E:Lexp;
      intermediary field_2988 Lnet/minecraft/class_497;field_2988:Lnet/minecraft/class_342;
      named inputSizeX Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputSizeX:Lnet/minecraft/client/gui/widget/TextFieldWidget;
    • inputSizeY

      private TextFieldWidget inputSizeY
      Mappings:
      Namespace Name Mixin selector
      official F Lffo;F:Lexp;
      intermediary field_2998 Lnet/minecraft/class_497;field_2998:Lnet/minecraft/class_342;
      named inputSizeY Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputSizeY:Lnet/minecraft/client/gui/widget/TextFieldWidget;
    • inputSizeZ

      private TextFieldWidget inputSizeZ
      Mappings:
      Namespace Name Mixin selector
      official G Lffo;G:Lexp;
      intermediary field_2978 Lnet/minecraft/class_497;field_2978:Lnet/minecraft/class_342;
      named inputSizeZ Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputSizeZ:Lnet/minecraft/client/gui/widget/TextFieldWidget;
    • inputIntegrity

      private TextFieldWidget inputIntegrity
      Mappings:
      Namespace Name Mixin selector
      official H Lffo;H:Lexp;
      intermediary field_3000 Lnet/minecraft/class_497;field_3000:Lnet/minecraft/class_342;
      named inputIntegrity Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputIntegrity:Lnet/minecraft/client/gui/widget/TextFieldWidget;
    • inputSeed

      private TextFieldWidget inputSeed
      Mappings:
      Namespace Name Mixin selector
      official I Lffo;I:Lexp;
      intermediary field_2992 Lnet/minecraft/class_497;field_2992:Lnet/minecraft/class_342;
      named inputSeed Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputSeed:Lnet/minecraft/client/gui/widget/TextFieldWidget;
    • inputMetadata

      private TextFieldWidget inputMetadata
      Mappings:
      Namespace Name Mixin selector
      official J Lffo;J:Lexp;
      intermediary field_2986 Lnet/minecraft/class_497;field_2986:Lnet/minecraft/class_342;
      named inputMetadata Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputMetadata:Lnet/minecraft/client/gui/widget/TextFieldWidget;
    • buttonSave

      private ButtonWidget buttonSave
      Mappings:
      Namespace Name Mixin selector
      official K Lffo;K:Lexg;
      intermediary field_2987 Lnet/minecraft/class_497;field_2987:Lnet/minecraft/class_4185;
      named buttonSave Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonSave:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • buttonLoad

      private ButtonWidget buttonLoad
      Mappings:
      Namespace Name Mixin selector
      official L Lffo;L:Lexg;
      intermediary field_3006 Lnet/minecraft/class_497;field_3006:Lnet/minecraft/class_4185;
      named buttonLoad Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonLoad:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • buttonRotate0

      private ButtonWidget buttonRotate0
      Mappings:
      Namespace Name Mixin selector
      official M Lffo;M:Lexg;
      intermediary field_2995 Lnet/minecraft/class_497;field_2995:Lnet/minecraft/class_4185;
      named buttonRotate0 Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonRotate0:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • buttonRotate90

      private ButtonWidget buttonRotate90
      Mappings:
      Namespace Name Mixin selector
      official N Lffo;N:Lexg;
      intermediary field_2981 Lnet/minecraft/class_497;field_2981:Lnet/minecraft/class_4185;
      named buttonRotate90 Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonRotate90:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • buttonRotate180

      private ButtonWidget buttonRotate180
      Mappings:
      Namespace Name Mixin selector
      official O Lffo;O:Lexg;
      intermediary field_3007 Lnet/minecraft/class_497;field_3007:Lnet/minecraft/class_4185;
      named buttonRotate180 Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonRotate180:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • buttonRotate270

      private ButtonWidget buttonRotate270
      Mappings:
      Namespace Name Mixin selector
      official P Lffo;P:Lexg;
      intermediary field_2993 Lnet/minecraft/class_497;field_2993:Lnet/minecraft/class_4185;
      named buttonRotate270 Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonRotate270:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • buttonDetect

      private ButtonWidget buttonDetect
      Mappings:
      Namespace Name Mixin selector
      official Q Lffo;Q:Lexg;
      intermediary field_3009 Lnet/minecraft/class_497;field_3009:Lnet/minecraft/class_4185;
      named buttonDetect Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonDetect:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • buttonEntities

      private CyclingButtonWidget<Boolean> buttonEntities
      Mappings:
      Namespace Name Mixin selector
      official R Lffo;R:Lexn;
      intermediary field_2990 Lnet/minecraft/class_497;field_2990:Lnet/minecraft/class_5676;
      named buttonEntities Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonEntities:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
    • buttonMirror

      private CyclingButtonWidget<BlockMirror> buttonMirror
      Mappings:
      Namespace Name Mixin selector
      official S Lffo;S:Lexn;
      intermediary field_2979 Lnet/minecraft/class_497;field_2979:Lnet/minecraft/class_5676;
      named buttonMirror Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonMirror:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
    • buttonShowAir

      private CyclingButtonWidget<Boolean> buttonShowAir
      Mappings:
      Namespace Name Mixin selector
      official T Lffo;T:Lexn;
      intermediary field_3008 Lnet/minecraft/class_497;field_3008:Lnet/minecraft/class_5676;
      named buttonShowAir Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonShowAir:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
    • buttonShowBoundingBox

      private CyclingButtonWidget<Boolean> buttonShowBoundingBox
      Mappings:
      Namespace Name Mixin selector
      official U Lffo;U:Lexn;
      intermediary field_3001 Lnet/minecraft/class_497;field_3001:Lnet/minecraft/class_5676;
      named buttonShowBoundingBox Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonShowBoundingBox:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
    • decimalFormat

      private final DecimalFormat decimalFormat
      Mappings:
      Namespace Name Mixin selector
      official V Lffo;V:Ljava/text/DecimalFormat;
      intermediary field_2991 Lnet/minecraft/class_497;field_2991:Ljava/text/DecimalFormat;
      named decimalFormat Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;decimalFormat:Ljava/text/DecimalFormat;
  • Constructor Details

    • StructureBlockScreen

      public StructureBlockScreen(StructureBlockBlockEntity structureBlock)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lffo;<init>(Ldij;)V
      intermediary <init> Lnet/minecraft/class_497;<init>(Lnet/minecraft/class_2633;)V
      named <init> Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;<init>(Lnet/minecraft/block/entity/StructureBlockBlockEntity;)V
  • Method Details

    • done

      private void done()
      Mappings:
      Namespace Name Mixin selector
      official n Lffo;n()V
      intermediary method_2515 Lnet/minecraft/class_497;method_2515()V
      named done Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;done()V
    • cancel

      private void cancel()
      Mappings:
      Namespace Name Mixin selector
      official D Lffo;D()V
      intermediary method_2514 Lnet/minecraft/class_497;method_2514()V
      named cancel Lnet/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.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aN_ Lfdb;aN_()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • resize

      public void resize(MinecraftClient client, int width, int height)
      Overrides:
      resize in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Lfdb;a(Levi;II)V
      intermediary method_25410 Lnet/minecraft/class_437;method_25410(Lnet/minecraft/class_310;II)V
      named resize Lnet/minecraft/client/gui/screen/Screen;resize(Lnet/minecraft/client/MinecraftClient;II)V
    • updateRotationButton

      private void updateRotationButton()
      Mappings:
      Namespace Name Mixin selector
      official E Lffo;E()V
      intermediary method_2510 Lnet/minecraft/class_497;method_2510()V
      named updateRotationButton Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;updateRotationButton()V
    • updateWidgets

      private void updateWidgets(StructureBlockMode mode)
      Mappings:
      Namespace Name Mixin selector
      official a Lffo;a(Ldkr;)V
      intermediary method_32650 Lnet/minecraft/class_497;method_32650(Lnet/minecraft/class_2776;)V
      named updateWidgets Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;updateWidgets(Lnet/minecraft/block/enums/StructureBlockMode;)V
    • updateStructureBlock

      private boolean updateStructureBlock(StructureBlockBlockEntity.Action action)
      Mappings:
      Namespace Name Mixin selector
      official a Lffo;a(Ldij$a;)Z
      intermediary method_2516 Lnet/minecraft/class_497;method_2516(Lnet/minecraft/class_2633$class_2634;)Z
      named updateStructureBlock Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;updateStructureBlock(Lnet/minecraft/block/entity/StructureBlockBlockEntity$Action;)Z
    • parseLong

      private long parseLong(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lffo;a(Ljava/lang/String;)J
      intermediary method_2504 Lnet/minecraft/class_497;method_2504(Ljava/lang/String;)J
      named parseLong Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;parseLong(Ljava/lang/String;)J
    • parseFloat

      private float parseFloat(String string)
      Mappings:
      Namespace Name Mixin selector
      official b Lffo;b(Ljava/lang/String;)F
      intermediary method_2500 Lnet/minecraft/class_497;method_2500(Ljava/lang/String;)F
      named parseFloat Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;parseFloat(Ljava/lang/String;)F
    • parseInt

      private int parseInt(String string)
      Mappings:
      Namespace Name Mixin selector
      official c Lffo;c(Ljava/lang/String;)I
      intermediary method_2517 Lnet/minecraft/class_497;method_2517(Ljava/lang/String;)I
      named parseInt Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;parseInt(Ljava/lang/String;)I
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aE_ Lfdb;aE_()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
    • 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 in GLFW class.
      Specified by:
      keyPressed in interface Element
      Specified by:
      keyPressed in interface ParentElement
      Overrides:
      keyPressed in class Screen
      Parameters:
      keyCode - the named key code of the event as described in the GLFW class
      scanCode - the unique/platform-specific scan code of the keyboard input
      modifiers - a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lezb;a(III)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(III)Z
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(III)Z
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Leyj;a(Lewu;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • shouldPause

      public boolean shouldPause()
      Overrides:
      shouldPause in class Screen
      Mappings:
      Namespace Name Mixin selector
      official k Lfdb;k()Z
      intermediary method_25421 Lnet/minecraft/class_437;method_25421()Z
      named shouldPause Lnet/minecraft/client/gui/screen/Screen;shouldPause()Z