Class TestBlockEditScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class TestBlockEditScreen extends Screen
  • Field Details

  • Constructor Details

    • TestBlockEditScreen

      public TestBlockEditScreen(TestBlockEntity pBlockEntity)
  • Method Details

    • init

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

      public void render(GuiGraphics p_397107_, int p_397213_, int p_397981_, float p_397804_)
      Description copied from interface: Renderable
      Renders the graphical user interface (GUI) element.
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen
      Parameters:
      p_397107_ - the GuiGraphics object used for rendering.
      p_397213_ - the x-coordinate of the mouse cursor.
      p_397981_ - the y-coordinate of the mouse cursor.
      p_397804_ - the partial tick time.
    • isPauseScreen

      public boolean isPauseScreen()
      Overrides:
      isPauseScreen in class Screen
    • isInGameUi

      public boolean isInGameUi()
      Overrides:
      isInGameUi in class Screen
    • onDone

      private void onDone()
    • onClose

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

      private void onCancel()
    • updateMode

      private void updateMode(TestBlockMode pMode)