Class SlotInventoryPixelmon
java.lang.Object
com.pixelmonmod.pixelmon.client.gui.pc.SlotPC
com.pixelmonmod.pixelmon.client.gui.inventory.SlotInventoryPixelmon
A Pokémon slot in the inventory party GUI.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe coordinates of the Pokémon's held item.intThe coordinates of the Pokémon's held item. -
Constructor Summary
ConstructorsConstructorDescriptionSlotInventoryPixelmon(int x, int y, StoragePosition position) Initializes a slot. -
Method Summary
Modifier and TypeMethodDescriptionGets the bounds of the held item slot.
-
Field Details
-
heldItemX
public int heldItemXThe coordinates of the Pokémon's held item. -
heldItemY
public int heldItemYThe coordinates of the Pokémon's held item.
-
-
Constructor Details
-
SlotInventoryPixelmon
Initializes a slot.- Parameters:
x- The x coordinate of the slot.y- The y coordinate of the slot.position- The PCPosition this slot represents. If this is in the party, then the box number is irrelevant.
-
-
Method Details
-
getHeldItemBounds
Gets the bounds of the held item slot.- Returns:
- The bounds of the held item slot.
-