接口 HorseInventory
- 所有超级接口:
AbstractHorseInventory
,Inventory
,Iterable<ItemStack>
马(抽象)的界面接口.
-
方法概要
从接口继承的方法 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
-
方法详细资料
-
getSaddle
获取马所装备的鞍.原文:Gets the item in the horse's saddle slot.
- 指定者:
getSaddle
在接口中AbstractHorseInventory
- 返回:
- 鞍
-
setSaddle
为这匹马装备鞍.原文:Sets the item in the horse's saddle slot.
- 指定者:
setSaddle
在接口中AbstractHorseInventory
- 参数:
stack
- 鞍
-
getArmor
获取马所装备的盔甲.原文:Gets the item in the horse's armor slot.
- 返回:
- 盔甲
-
setArmor
为这匹马装备盔甲.原文:Sets the item in the horse's armor slot.
- 参数:
stack
- 盔甲
-