接口 FurnaceInventory
熔炉用户界面接口
-
方法概要
从接口继承的方法 org.bukkit.inventory.Inventory
addItem, all, all, all, clear, clear, contains, contains, contains, contains, contains, contains, containsAtLeast, first, first, first, firstEmpty, getContents, getItem, getLocation, getMaxStackSize, getName, getSize, getStorageContents, getTitle, getType, getViewers, iterator, iterator, remove, remove, remove, removeItem, setContents, setItem, setMaxStackSize, setStorageContents
从接口继承的方法 java.lang.Iterable
forEach, spliterator
-
方法详细资料
-
getResult
ItemStack getResult()获取当前熔炉生成的的物品.原文:Get the current item in the result slot.
- 返回:
- ItemStack
-
getFuel
ItemStack getFuel()获取当前熔炉的燃料物品.- 返回:
- ItemStack
-
getSmelting
ItemStack getSmelting()获取当前熔炉的被冶炼的物品.原文:Get the item currently smelting.
- 返回:
- 物品
-
setFuel
设置当前熔炉的燃料物品.原文:Set the current fuel.
- 参数:
stack
- 燃料物品
-
setResult
设置当前熔炉的生成物.原文:Set the current item in the result slot.
- 参数:
stack
- 生成物
-
setSmelting
设置当前熔炉的被冶炼物物品.原文:Set the item currently smelting.
- 参数:
stack
- 物品
-
getHolder
Furnace getHolder()从接口复制的说明:Inventory
获得此物品栏的持有者(方块或实体).原文:Gets the block or entity belonging to the open inventory
-