Class HopperScreen

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

public class HopperScreen extends AbstractContainerScreen<HopperMenu>
  • Field Details

    • HOPPER_LOCATION

      private static final ResourceLocation HOPPER_LOCATION
      The ResourceLocation containing the gui texture for the hopper
  • Constructor Details

  • Method Details

    • render

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

      protected void renderBg(GuiGraphics p_281616_, float p_282737_, int p_281678_, int p_281465_)
      Specified by:
      renderBg in class AbstractContainerScreen<HopperMenu>