Interface InventoryPixelmonBase

All Known Implementing Classes:
CreativeInventoryExtendedScreen, DayCareScreen, InventoryPixelmonExtendedScreen

public interface InventoryPixelmonBase
Used to outsource method calls to the two different Pixelmon inventories.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<net.minecraft.client.gui.components.Renderable>
    Gets the list of buttons on the GUI.
    int
    Gets the x coordinate of the left side of the GUI.
    float
    Gets the z coordinate of the inventory.
    void
    offsetGUILeft(int offset)
    Adds an amount to the x coordinate of the left side of the GUI.
    void
     
    void
    render(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks)
    Calls the superclass's drawScreen().
  • Method Details

    • render

      void render(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks)
      Calls the superclass's drawScreen().
      Parameters:
      mouseX - The x coordinate of the mouse.
      mouseY - The y coordinate of the mouse.
      partialTicks - The current amount of partial ticks.
    • getZLevel

      float getZLevel()
      Gets the z coordinate of the inventory.
    • getGUILeft

      int getGUILeft()
      Gets the x coordinate of the left side of the GUI.
      Returns:
      The x coordinate of the left side of the GUI.
    • offsetGUILeft

      void offsetGUILeft(int offset)
      Adds an amount to the x coordinate of the left side of the GUI.
      Parameters:
      offset - The amount to add to the x coordinate of the left side of the GUI.
    • getButtonList

      List<net.minecraft.client.gui.components.Renderable> getButtonList()
      Gets the list of buttons on the GUI.
      Returns:
      The list of buttons on the GUI.
    • refreshSearchResults

      void refreshSearchResults()