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