接口 FurnaceInventory
熔炉用户界面接口
-
方法概要
修饰符和类型方法说明getFuel()
获取当前熔炉的燃料物品.获得此物品栏的持有者(方块或实体).获取当前熔炉生成的的物品.获取当前熔炉的被冶炼的物品.void
设置当前熔炉的燃料物品.void
设置当前熔炉的生成物.void
setSmelting
(@Nullable ItemStack stack) 设置当前熔炉的被冶炼物物品.从接口继承的方法 org.bukkit.inventory.Inventory
addItem, all, all, clear, clear, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, setContents, setItem, setMaxStackSize, setStorageContents
从接口继承的方法 java.lang.Iterable
forEach, spliterator
-
方法详细资料
-
getResult
获取当前熔炉生成的的物品.原文:Get the current item in the result slot.
- 返回:
- ItemStack
-
getFuel
获取当前熔炉的燃料物品.- 返回:
- 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
从接口复制的说明:Inventory
获得此物品栏的持有者(方块或实体).原文:Gets the block or entity belonging to the open inventory
-