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 TypeMethodDescriptionList<net.minecraft.client.gui.components.Renderable> Gets the list of buttons on the GUI.intGets the x coordinate of the left side of the GUI.floatGets the z coordinate of the inventory.voidoffsetGUILeft(int offset) Adds an amount to the x coordinate of the left side of the GUI.voidvoidrender(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()
-