org.bukkit.inventory
Interface HorseInventory

All Superinterfaces:
Inventory, Iterable<ItemStack>

public interface HorseInventory
extends Inventory


Method Summary
 ItemStack getArmor()
          Gets the item in the horse's armor slot.
 ItemStack getSaddle()
          Gets the item in the horse's saddle slot.
 void setArmor(ItemStack stack)
          Sets the item in the horse's armor slot.
 void setSaddle(ItemStack stack)
          Sets the item in the horse's saddle slot.
 
Methods inherited from interface org.bukkit.inventory.Inventory
addItem, all, all, all, clear, clear, contains, contains, contains, contains, contains, contains, containsAtLeast, first, first, first, firstEmpty, getContents, getHolder, getItem, getMaxStackSize, getName, getSize, getTitle, getType, getViewers, iterator, iterator, remove, remove, remove, removeItem, setContents, setItem, setMaxStackSize
 

Method Detail

getSaddle

ItemStack getSaddle()
Gets the item in the horse's saddle slot.

Returns:
the saddle item

getArmor

ItemStack getArmor()
Gets the item in the horse's armor slot.

Returns:
the armor item

setSaddle

void setSaddle(ItemStack stack)
Sets the item in the horse's saddle slot.

Parameters:
stack - the new item

setArmor

void setArmor(ItemStack stack)
Sets the item in the horse's armor slot.

Parameters:
stack - the new item


Copyright © 2013. All Rights Reserved.