public class NukkitBrewingInventory extends NukkitInventory implements BrewingInventory
type| Constructor and Description |
|---|
NukkitBrewingInventory(com.flowpowered.math.vector.Vector3i position) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ItemInstance> |
getFuel() |
Optional<ItemInstance> |
getIngredient() |
com.flowpowered.math.vector.Vector3i |
getPosition() |
Optional<ItemInstance> |
getPotion(int slot) |
void |
setFuel(ItemInstance item) |
void |
setIngredient(ItemInstance item) |
void |
setPotion(int slot,
ItemInstance item) |
addItem, addItem, clearAll, clearItem, countDown, getAllContents, getEmptySlots, getInventorySize, getInventoryType, getItem, setAllContents, setItem, setItemclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddItem, clearAll, clearItem, getAllContents, getEmptySlots, getInventorySize, getInventoryType, getItem, setAllContents, setItempublic NukkitBrewingInventory(com.flowpowered.math.vector.Vector3i position)
public com.flowpowered.math.vector.Vector3i getPosition()
getPosition in interface OpenableInventorypublic Optional<ItemInstance> getIngredient()
getIngredient in interface BrewingInventorypublic void setIngredient(@Nullable ItemInstance item)
setIngredient in interface BrewingInventorypublic Optional<ItemInstance> getFuel()
getFuel in interface BrewingInventorypublic void setFuel(@Nullable ItemInstance item)
setFuel in interface BrewingInventorypublic Optional<ItemInstance> getPotion(int slot)
getPotion in interface BrewingInventorypublic void setPotion(int slot,
@Nullable
ItemInstance item)
setPotion in interface BrewingInventoryCopyright © 2017–2019 NukkitX. All rights reserved.