Class GrindstoneScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement, MenuAccess<GrindstoneMenu>

public class GrindstoneScreen extends AbstractContainerScreen<GrindstoneMenu>
  • Field Details

    • ERROR_SPRITE

      private static final Identifier ERROR_SPRITE
    • GRINDSTONE_LOCATION

      private static final Identifier GRINDSTONE_LOCATION
  • Constructor Details

  • Method Details

    • render

      public void render(GuiGraphics p_283326_, int p_281847_, int p_283310_, float p_283486_)
      Description copied from interface: Renderable
      Renders the graphical user interface (GUI) element.
      Specified by:
      render in interface Renderable
      Overrides:
      render in class AbstractContainerScreen<GrindstoneMenu>
      Parameters:
      p_283326_ - the GuiGraphics object used for rendering.
      p_281847_ - the x-coordinate of the mouse cursor.
      p_283310_ - the y-coordinate of the mouse cursor.
      p_283486_ - the partial tick time.
    • renderBg

      protected void renderBg(GuiGraphics p_281991_, float p_282138_, int p_282937_, int p_281956_)
      Specified by:
      renderBg in class AbstractContainerScreen<GrindstoneMenu>