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 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
      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
    • onDone

      private void onDone()
    • onClose

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

      private void onCancel()
    • updateMode

      private void updateMode(TestBlockMode pMode)
    • renderBackground

      public void renderBackground(GuiGraphics p_399499_, int p_399635_, int p_399466_, float p_400178_)
      Overrides:
      renderBackground in class Screen