Modifier and Type | Method | Description |
---|---|---|
ItemStack |
getFuel() |
Get the current fuel for brewing.
|
BrewingStand |
getHolder() |
Gets the block or entity belonging to the open inventory
|
ItemStack |
getIngredient() |
Get the current ingredient for brewing.
|
void |
setFuel(ItemStack fuel) |
Set the current fuel for brewing.
|
void |
setIngredient(ItemStack ingredient) |
Set the current ingredient for brewing.
|
addItem, all, all, clear, clear, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, iterator, iterator, remove, remove, removeItem, setContents, setItem, setMaxStackSize, setStorageContents
forEach, spliterator
@Nullable ItemStack getIngredient()
void setIngredient(@Nullable ItemStack ingredient)
ingredient
- The ingredient@Nullable ItemStack getFuel()
void setFuel(@Nullable ItemStack fuel)
Material.BLAZE_POWDER
will be of use.fuel
- The fuel@Nullable BrewingStand getHolder()
Inventory
Copyright © 2019. All rights reserved.