Class JigsawBlockScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • JOINT_LABEL_TEXT

      private static final Text JOINT_LABEL_TEXT
      Mappings:
      Namespace Name Mixin selector
      named JOINT_LABEL_TEXT Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;JOINT_LABEL_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26564 Lnet/minecraft/class_3742;field_26564:Lnet/minecraft/class_2561;
      official a Lfvp;a:Lxv;
    • POOL_TEXT

      private static final Text POOL_TEXT
      Mappings:
      Namespace Name Mixin selector
      named POOL_TEXT Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;POOL_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26565 Lnet/minecraft/class_3742;field_26565:Lnet/minecraft/class_2561;
      official b Lfvp;b:Lxv;
    • NAME_TEXT

      private static final Text NAME_TEXT
      Mappings:
      Namespace Name Mixin selector
      named NAME_TEXT Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;NAME_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26566 Lnet/minecraft/class_3742;field_26566:Lnet/minecraft/class_2561;
      official c Lfvp;c:Lxv;
    • TARGET_TEXT

      private static final Text TARGET_TEXT
      Mappings:
      Namespace Name Mixin selector
      named TARGET_TEXT Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;TARGET_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26567 Lnet/minecraft/class_3742;field_26567:Lnet/minecraft/class_2561;
      official d Lfvp;d:Lxv;
    • FINAL_STATE_TEXT

      private static final Text FINAL_STATE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named FINAL_STATE_TEXT Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;FINAL_STATE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26568 Lnet/minecraft/class_3742;field_26568:Lnet/minecraft/class_2561;
      official s Lfvp;s:Lxv;
    • PLACEMENT_PRIORITY_TEXT

      private static final Text PLACEMENT_PRIORITY_TEXT
      Mappings:
      Namespace Name Mixin selector
      named PLACEMENT_PRIORITY_TEXT Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;PLACEMENT_PRIORITY_TEXT:Lnet/minecraft/text/Text;
      intermediary field_47119 Lnet/minecraft/class_3742;field_47119:Lnet/minecraft/class_2561;
      official u Lfvp;u:Lxv;
    • PLACEMENT_PRIORITY_TOOLTIP

      private static final Text PLACEMENT_PRIORITY_TOOLTIP
      Mappings:
      Namespace Name Mixin selector
      named PLACEMENT_PRIORITY_TOOLTIP Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;PLACEMENT_PRIORITY_TOOLTIP:Lnet/minecraft/text/Text;
      intermediary field_47120 Lnet/minecraft/class_3742;field_47120:Lnet/minecraft/class_2561;
      official v Lfvp;v:Lxv;
    • SELECTION_PRIORITY_TEXT

      private static final Text SELECTION_PRIORITY_TEXT
      Mappings:
      Namespace Name Mixin selector
      named SELECTION_PRIORITY_TEXT Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;SELECTION_PRIORITY_TEXT:Lnet/minecraft/text/Text;
      intermediary field_47121 Lnet/minecraft/class_3742;field_47121:Lnet/minecraft/class_2561;
      official w Lfvp;w:Lxv;
    • SELECTION_PRIORITY_TOOLTIP

      private static final Text SELECTION_PRIORITY_TOOLTIP
      Mappings:
      Namespace Name Mixin selector
      named SELECTION_PRIORITY_TOOLTIP Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;SELECTION_PRIORITY_TOOLTIP:Lnet/minecraft/text/Text;
      intermediary field_47122 Lnet/minecraft/class_3742;field_47122:Lnet/minecraft/class_2561;
      official x Lfvp;x:Lxv;
    • jigsaw

      private final JigsawBlockEntity jigsaw
      Mappings:
      Namespace Name Mixin selector
      named jigsaw Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;jigsaw:Lnet/minecraft/block/entity/JigsawBlockEntity;
      intermediary field_16522 Lnet/minecraft/class_3742;field_16522:Lnet/minecraft/class_3751;
      official y Lfvp;y:Ldvz;
    • nameField

      private TextFieldWidget nameField
      Mappings:
      Namespace Name Mixin selector
      named nameField Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;nameField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
      intermediary field_23348 Lnet/minecraft/class_3742;field_23348:Lnet/minecraft/class_342;
      official z Lfvp;z:Lfon;
    • targetField

      private TextFieldWidget targetField
      Mappings:
      Namespace Name Mixin selector
      named targetField Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;targetField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
      intermediary field_23349 Lnet/minecraft/class_3742;field_23349:Lnet/minecraft/class_342;
      official A Lfvp;A:Lfon;
    • poolField

      private TextFieldWidget poolField
      Mappings:
      Namespace Name Mixin selector
      named poolField Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;poolField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
      intermediary field_23350 Lnet/minecraft/class_3742;field_23350:Lnet/minecraft/class_342;
      official B Lfvp;B:Lfon;
    • finalStateField

      private TextFieldWidget finalStateField
      Mappings:
      Namespace Name Mixin selector
      named finalStateField Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;finalStateField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
      intermediary field_16519 Lnet/minecraft/class_3742;field_16519:Lnet/minecraft/class_342;
      official C Lfvp;C:Lfon;
    • selectionPriorityField

      private TextFieldWidget selectionPriorityField
      Mappings:
      Namespace Name Mixin selector
      named selectionPriorityField Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;selectionPriorityField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
      intermediary field_47123 Lnet/minecraft/class_3742;field_47123:Lnet/minecraft/class_342;
      official D Lfvp;D:Lfon;
    • placementPriorityField

      private TextFieldWidget placementPriorityField
      Mappings:
      Namespace Name Mixin selector
      named placementPriorityField Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;placementPriorityField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
      intermediary field_47124 Lnet/minecraft/class_3742;field_47124:Lnet/minecraft/class_342;
      official E Lfvp;E:Lfon;
    • generationDepth

      int generationDepth
      Mappings:
      Namespace Name Mixin selector
      named generationDepth Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;generationDepth:I
      intermediary field_24052 Lnet/minecraft/class_3742;field_24052:I
      official F Lfvp;F:I
    • keepJigsaws

      private boolean keepJigsaws
      Mappings:
      Namespace Name Mixin selector
      named keepJigsaws Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;keepJigsaws:Z
      intermediary field_25271 Lnet/minecraft/class_3742;field_25271:Z
      official G Lfvp;G:Z
    • jointRotationButton

      private CyclingButtonWidget<JigsawBlockEntity.Joint> jointRotationButton
      Mappings:
      Namespace Name Mixin selector
      named jointRotationButton Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;jointRotationButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
      intermediary field_23351 Lnet/minecraft/class_3742;field_23351:Lnet/minecraft/class_5676;
      official H Lfvp;H:Lfol;
    • doneButton

      private ButtonWidget doneButton
      Mappings:
      Namespace Name Mixin selector
      named doneButton Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;doneButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_19103 Lnet/minecraft/class_3742;field_19103:Lnet/minecraft/class_4185;
      official I Lfvp;I:Lfoe;
    • generateButton

      private ButtonWidget generateButton
      Mappings:
      Namespace Name Mixin selector
      named generateButton Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;generateButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_33958 Lnet/minecraft/class_3742;field_33958:Lnet/minecraft/class_4185;
      official J Lfvp;J:Lfoe;
    • joint

      private JigsawBlockEntity.Joint joint
      Mappings:
      Namespace Name Mixin selector
      named joint Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;joint:Lnet/minecraft/block/entity/JigsawBlockEntity$Joint;
      intermediary field_23352 Lnet/minecraft/class_3742;field_23352:Lnet/minecraft/class_3751$class_4991;
      official K Lfvp;K:Ldvz$a;
  • Constructor Details

    • JigsawBlockScreen

      public JigsawBlockScreen(JigsawBlockEntity jigsaw)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;<init>(Lnet/minecraft/block/entity/JigsawBlockEntity;)V
      intermediary <init> Lnet/minecraft/class_3742;<init>(Lnet/minecraft/class_3751;)V
      official <init> Lfvp;<init>(Ldvz;)V
  • Method Details

    • onDone

      private void onDone()
      Mappings:
      Namespace Name Mixin selector
      named onDone Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;onDone()V
      intermediary method_16346 Lnet/minecraft/class_3742;method_16346()V
      official l Lfvp;l()V
    • onCancel

      private void onCancel()
      Mappings:
      Namespace Name Mixin selector
      named onCancel Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;onCancel()V
      intermediary method_16349 Lnet/minecraft/class_3742;method_16349()V
      official E Lfvp;E()V
    • updateServer

      private void updateServer()
      Mappings:
      Namespace Name Mixin selector
      named updateServer Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;updateServer()V
      intermediary method_16348 Lnet/minecraft/class_3742;method_16348()V
      official F Lfvp;F()V
    • parseInt

      private int parseInt(String value)
      Mappings:
      Namespace Name Mixin selector
      named parseInt Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;parseInt(Ljava/lang/String;)I
      intermediary method_54800 Lnet/minecraft/class_3742;method_54800(Ljava/lang/String;)I
      official b Lfvp;b(Ljava/lang/String;)I
    • generate

      private void generate()
      Mappings:
      Namespace Name Mixin selector
      named generate Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;generate()V
      intermediary method_27272 Lnet/minecraft/class_3742;method_27272()V
      official G Lfvp;G()V
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      official aP_ Lftx;aP_()V
    • init

      protected void init()
      Called when a screen should be initialized.

      This method is called when this screen is opened or resized.

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

      protected void setInitialFocus()
      This should be overridden with a call to Screen.setInitialFocus(Element) to set the element that is initially focused.
      Overrides:
      setInitialFocus in class Screen
      Mappings:
      Namespace Name Mixin selector
      named setInitialFocus Lnet/minecraft/client/gui/screen/Screen;setInitialFocus()V
      intermediary method_56131 Lnet/minecraft/class_437;method_56131()V
      official aG_ Lftx;aG_()V
    • renderBackground

      public void renderBackground(DrawContext context, int mouseX, int mouseY, float delta)
      Renders the background of this screen.

      If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.

      Overrides:
      renderBackground in class Screen
      Mappings:
      Namespace Name Mixin selector
      named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25420 Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
      official b Lftx;b(Lfnr;IIF)V
    • isValidId

      public static boolean isValidId(String id)
      Mappings:
      Namespace Name Mixin selector
      named isValidId Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;isValidId(Ljava/lang/String;)Z
      intermediary method_61042 Lnet/minecraft/class_3742;method_61042(Ljava/lang/String;)Z
      official a Lfvp;a(Ljava/lang/String;)Z
    • updateDoneButtonState

      private void updateDoneButtonState()
      Mappings:
      Namespace Name Mixin selector
      named updateDoneButtonState Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;updateDoneButtonState()V
      intermediary method_20118 Lnet/minecraft/class_3742;method_20118()V
      official J Lfvp;J()V
    • resize

      public void resize(MinecraftClient client, int width, int height)
      Overrides:
      resize in class Screen
      Mappings:
      Namespace Name Mixin selector
      named resize Lnet/minecraft/client/gui/screen/Screen;resize(Lnet/minecraft/client/MinecraftClient;II)V
      intermediary method_25410 Lnet/minecraft/class_437;method_25410(Lnet/minecraft/class_310;II)V
      official a Lftx;a(Lfmf;II)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
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(III)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(III)Z
      official a Lfqc;a(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
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      official a Lfpi;a(Lfnr;IIF)V