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