Class JigsawBlockScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • MAX_GENERATION_DEPTH

      private static final int MAX_GENERATION_DEPTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lfaj;a:I
      intermediary field_32344 Lnet/minecraft/class_3742;field_32344:I
      named MAX_GENERATION_DEPTH Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;MAX_GENERATION_DEPTH:I
    • JOINT_LABEL_TEXT

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

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

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

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

      private static final Text FINAL_STATE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official m Lfaj;m:Ltl;
      intermediary field_26568 Lnet/minecraft/class_3742;field_26568:Lnet/minecraft/class_2561;
      named FINAL_STATE_TEXT Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;FINAL_STATE_TEXT:Lnet/minecraft/text/Text;
    • jigsaw

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

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

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

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

      private TextFieldWidget finalStateField
      Mappings:
      Namespace Name Mixin selector
      official s Lfaj;s:Lesz;
      intermediary field_16519 Lnet/minecraft/class_3742;field_16519:Lnet/minecraft/class_342;
      named finalStateField Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;finalStateField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
    • generationDepth

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

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

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

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

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

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

    • JigsawBlockScreen

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

    • onDone

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

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

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

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

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      official az_ Leyk;az_()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      named close Lnet/minecraft/client/gui/screen/Screen;close()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 aH_ Leyk;aH_()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • updateDoneButtonState

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

      public void resize(MinecraftClient client, int width, int height)
      Overrides:
      resize in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Leyk;a(Leqv;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
    • 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 Leuk;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 Lets;a(Lesf;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