接口 AbstractHorseInventory
- 所有已知子接口:
HorseInventory
,LlamaInventory
马(抽象概念的)(
AbstractHorse
)的物品栏界面接口.-
方法概要
从接口继承的方法 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.
- 返回:
- 马鞍
-
setSaddle
为这匹马装备一个马鞍.原文:Sets the item in the horse's saddle slot.
- 参数:
stack
- 马鞍
-