Class BrewingStandInventory
java.lang.Object
net.minestom.server.inventory.AbstractInventory
net.minestom.server.inventory.Inventory
net.minestom.server.inventory.type.BrewingStandInventory
- All Implemented Interfaces:
InventoryClickHandler
,Taggable
,TagReadable
,TagWritable
,Viewable
-
Field Summary
Fields inherited from class net.minestom.server.inventory.AbstractInventory
clickProcessor, inventoryConditions, itemStacks
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionshort
Gets the brewing stand brew time.short
Gets the brewing stand fuel time.void
setBrewTime
(short brewTime) Changes the brew time.void
setFuelTime
(short fuelTime) Changes the fuel time.Methods inherited from class net.minestom.server.inventory.Inventory
addViewer, changeHeld, clear, doubleClick, dragging, drop, getCursorItem, getInventoryType, getTitle, getViewers, getWindowId, leftClick, middleClick, removeViewer, rightClick, sendProperty, setCursorItem, setTitle, shiftClick, UNSAFE_itemInsert, update, update
Methods inherited from class net.minestom.server.inventory.AbstractInventory
addInventoryCondition, addItemStack, addItemStack, addItemStacks, copyContents, getInnerSize, getInventoryConditions, getItemStack, getItemStacks, getSize, processItemStack, processItemStacks, replaceItemStack, safeItemInsert, safeItemInsert, setItemStack, tagHandler, takeItemStack, takeItemStacks
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minestom.server.inventory.InventoryClickHandler
callClickEvent
Methods inherited from interface net.minestom.server.Viewable
getViewersAsAudience, getViewersAsAudiences, isViewer, sendPacketsToViewers, sendPacketsToViewers, sendPacketToViewers, sendPacketToViewersAndSelf
-
Constructor Details
-
BrewingStandInventory
-
-
Method Details
-
getBrewTime
public short getBrewTime()Gets the brewing stand brew time.- Returns:
- the brew time in tick
-
setBrewTime
public void setBrewTime(short brewTime) Changes the brew time.- Parameters:
brewTime
- the new brew time in tick
-
getFuelTime
public short getFuelTime()Gets the brewing stand fuel time.- Returns:
- the fuel time in tick
-
setFuelTime
public void setFuelTime(short fuelTime) Changes the fuel time.- Parameters:
fuelTime
- the new fuel time in tick
-