接口 HorseInventory
- 所有超级接口:
AbstractHorseInventory
,Inventory
,Iterable<ItemStack>
马的界面接口.
-
方法概要
从接口继承的方法 org.bukkit.inventory.AbstractHorseInventory
getSaddle, setSaddle
从接口继承的方法 org.bukkit.inventory.Inventory
addItem, all, all, all, clear, clear, contains, contains, contains, contains, contains, contains, containsAtLeast, first, first, first, firstEmpty, getContents, getHolder, getItem, getLocation, getMaxStackSize, getName, getSize, getStorageContents, getTitle, getType, getViewers, iterator, iterator, remove, remove, remove, removeItem, setContents, setItem, setMaxStackSize, setStorageContents
从接口继承的方法 java.lang.Iterable
forEach, spliterator
-
方法详细资料
-
getArmor
ItemStack getArmor()获取马所装备的盔甲.原文:Gets the item in the horse's armor slot.
- 返回:
- 盔甲
-
setArmor
为这匹马装备盔甲.原文:Sets the item in the horse's armor slot.
- 参数:
stack
- 盔甲
-