Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.inventory.HorseInventory Interface Reference
Inheritance diagram for org.bukkit.inventory.HorseInventory:

Public Member Functions

ItemStack getSaddle ()
ItemStack getArmor ()
void setSaddle (ItemStack stack)
void setArmor (ItemStack stack)
- Public Member Functions inherited from org.bukkit.inventory.Inventory
int getSize ()
int getMaxStackSize ()
void setMaxStackSize (int size)
String getName ()
ItemStack getItem (int index)
void setItem (int index, ItemStack item)
HashMap< Integer, ItemStackaddItem (ItemStack...items) throws IllegalArgumentException
HashMap< Integer, ItemStackremoveItem (ItemStack...items) throws IllegalArgumentException
ItemStack[] getContents ()
void setContents (ItemStack[] items) throws IllegalArgumentException
boolean contains (int materialId)
boolean contains (Material material) throws IllegalArgumentException
boolean contains (ItemStack item)
boolean contains (int materialId, int amount)
boolean contains (Material material, int amount) throws IllegalArgumentException
boolean contains (ItemStack item, int amount)
boolean containsAtLeast (ItemStack item, int amount)
HashMap< Integer,?extends ItemStackall (int materialId)
HashMap< Integer,?extends ItemStackall (Material material) throws IllegalArgumentException
HashMap< Integer,?extends ItemStackall (ItemStack item)
int first (int materialId)
int first (Material material) throws IllegalArgumentException
int first (ItemStack item)
int firstEmpty ()
void remove (int materialId)
void remove (Material material) throws IllegalArgumentException
void remove (ItemStack item)
void clear (int index)
void clear ()
List< HumanEntitygetViewers ()
String getTitle ()
InventoryType getType ()
InventoryHolder getHolder ()
ListIterator< ItemStackiterator ()
ListIterator< ItemStackiterator (int index)

Detailed Description

An interface to the inventory of a Horse.

Definition at line 6 of file HorseInventory.java.

Member Function Documentation

ItemStack org.bukkit.inventory.HorseInventory.getArmor ( )

Gets the item in the horse's armor slot.

the armor item
ItemStack org.bukkit.inventory.HorseInventory.getSaddle ( )

Gets the item in the horse's saddle slot.

the saddle item
void org.bukkit.inventory.HorseInventory.setArmor ( ItemStack  stack)

Sets the item in the horse's armor slot.

stackthe new item
void org.bukkit.inventory.HorseInventory.setSaddle ( ItemStack  stack)

Sets the item in the horse's saddle slot.

stackthe new item

The documentation for this interface was generated from the following file: