Class JigsawBlockEditScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class JigsawBlockEditScreen extends Screen
  • Field Details

    • JOINT_LABEL

      private static final Component JOINT_LABEL
    • POOL_LABEL

      private static final Component POOL_LABEL
    • NAME_LABEL

      private static final Component NAME_LABEL
    • TARGET_LABEL

      private static final Component TARGET_LABEL
    • FINAL_STATE_LABEL

      private static final Component FINAL_STATE_LABEL
    • PLACEMENT_PRIORITY_LABEL

      private static final Component PLACEMENT_PRIORITY_LABEL
    • PLACEMENT_PRIORITY_TOOLTIP

      private static final Component PLACEMENT_PRIORITY_TOOLTIP
    • SELECTION_PRIORITY_LABEL

      private static final Component SELECTION_PRIORITY_LABEL
    • SELECTION_PRIORITY_TOOLTIP

      private static final Component SELECTION_PRIORITY_TOOLTIP
    • jigsawEntity

      private final JigsawBlockEntity jigsawEntity
    • nameEdit

      private EditBox nameEdit
    • targetEdit

      private EditBox targetEdit
    • poolEdit

      private EditBox poolEdit
    • finalStateEdit

      private EditBox finalStateEdit
    • selectionPriorityEdit

      private EditBox selectionPriorityEdit
    • placementPriorityEdit

      private EditBox placementPriorityEdit
    • levels

      int levels
    • keepJigsaws

      private boolean keepJigsaws
    • jointButton

    • doneButton

      private Button doneButton
    • generateButton

      private Button generateButton
    • joint

  • Constructor Details

  • Method Details

    • onDone

      private void onDone()
    • onCancel

      private void onCancel()
    • sendToServer

      private void sendToServer()
    • parseAsInt

      private int parseAsInt(String p_311580_)
    • sendGenerate

      private void sendGenerate()
    • onClose

      public void onClose()
      Overrides:
      onClose in class Screen
    • init

      protected void init()
      Overrides:
      init in class Screen
    • setInitialFocus

      protected void setInitialFocus()
      Overrides:
      setInitialFocus in class Screen
    • renderBackground

      public void renderBackground(GuiGraphics p_331164_, int p_330446_, int p_335384_, float p_331448_)
      Overrides:
      renderBackground in class Screen
    • isValidResourceLocation

      public static boolean isValidResourceLocation(String p_344108_)
    • updateValidity

      private void updateValidity()
    • resize

      public void resize(Minecraft p_98960_, int p_98961_, int p_98962_)
      Overrides:
      resize in class Screen
    • keyPressed

      public boolean keyPressed(int p_98951_, int p_98952_, int p_98953_)
      Specified by:
      keyPressed in interface ContainerEventHandler
      Specified by:
      keyPressed in interface GuiEventListener
      Overrides:
      keyPressed in class Screen
    • render

      public void render(GuiGraphics p_282514_, int p_98956_, int p_98957_, float p_98958_)
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen