Class TestInstanceBlockEditScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class TestInstanceBlockEditScreen extends Screen
  • Field Details

  • Constructor Details

  • Method Details

    • init

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

      private void updateSaveState()
    • rotationDisplay

      private static Component rotationDisplay(Rotation p_398001_)
    • setSize

      private void setSize(Vec3i p_397406_)
    • widgetX

      private int widgetX(int p_397341_, int p_397626_)
    • widgetSize

      private static int widgetSize(int p_397220_)
    • exactWidgetSize

      private static float exactWidgetSize(int p_397807_)
    • render

      public void render(GuiGraphics p_397620_, int p_397635_, int p_397823_, float p_397214_)
      Description copied from class: Screen
      Neo: mixins targeting this method won't fire for container screens as AbstractContainerScreen.render(net.minecraft.client.gui.GuiGraphics, int, int, float) replicates this method in place of a super call to insert an event
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen
    • updateTestInfo

      private void updateTestInfo(boolean p_397030_)
    • onDone

      private void onDone()
    • sendToServer

      private boolean sendToServer(ServerboundTestInstanceBlockActionPacket.Action p_397612_)
    • setStatus

      public void setStatus(Component p_397990_, Optional<Vec3i> p_397675_)
    • onCancel

      private void onCancel()
    • parseSize

      private static int parseSize(String p_397084_)
    • renderBackground

      public void renderBackground(GuiGraphics p_399858_, int p_400056_, int p_399919_, float p_400070_)
      Overrides:
      renderBackground in class Screen