接口 LlamaInventory
- 所有超级接口:
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
-
方法详细资料
-
getDecor
ItemStack getDecor()得到羊驼背包中装饰槽的物品, 通常是毛毯.原文:Gets the item in the llama's decor slot.
- 返回:
- 身上的装饰的ItemStack对象
-
setDecor
设置羊驼背包中装饰槽的物品.原文:Sets the item in the llama's decor slot.
- 参数:
stack
- 给定的物品
-