接口 BrewerInventory
酿造台的用户界面接口.
-
方法概要
修饰符和类型方法说明getFuel()
获取当前用来酿造的燃料.获得此物品栏的持有者(方块或实体).获取当前酿造台的原料.void
设置当前用来酿造的燃料.一般只有Material.BLAZE_POWDER
将使用此方法.void
setIngredient
(@Nullable ItemStack ingredient) 设置当前酿造台的原料成分.从接口继承的方法 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
-
方法详细资料
-
getIngredient
获取当前酿造台的原料.原文:Get the current ingredient for brewing.
- 返回:
- 原料成分.
-
setIngredient
设置当前酿造台的原料成分.原文:Set the current ingredient for brewing.
- 参数:
ingredient
- 原料成分
-
getFuel
获取当前用来酿造的燃料.原文:Get the current fuel for brewing.
- 返回:
- 燃料
-
setFuel
设置当前用来酿造的燃料.一般只有Material.BLAZE_POWDER
将使用此方法.原文:Set the current fuel for brewing. Generally only
Material.BLAZE_POWDER
will be of use.- 参数:
fuel
- 燃料
-
getHolder
从接口复制的说明:Inventory
获得此物品栏的持有者(方块或实体).原文:Gets the block or entity belonging to the open inventory
-