Class FurnaceInventory
java.lang.Object
net.minestom.server.inventory.AbstractInventory
net.minestom.server.inventory.Inventory
net.minestom.server.inventory.type.FurnaceInventory
- All Implemented Interfaces:
InventoryClickHandler
,Taggable
,TagReadable
,TagWritable
,Viewable
-
Field Summary
Fields inherited from class net.minestom.server.inventory.AbstractInventory
clickProcessor, inventoryConditions, itemStacks
-
Constructor Summary
ConstructorDescriptionFurnaceInventory
(@NotNull String title) FurnaceInventory
(@NotNull Component title) -
Method Summary
Modifier and TypeMethodDescriptionshort
short
short
short
Represents the amount of tick until the fire icon come empty.void
setMaximumFuelBurnTime
(short maximumFuelBurnTime) void
setMaximumProgress
(short maximumProgress) void
setProgressArrow
(short progressArrow) void
setRemainingFuelTick
(short remainingFuelTick) Represents the amount of tick until the fire icon come empty.Methods inherited from class net.minestom.server.inventory.Inventory
addViewer, changeHeld, 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, clear, 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.tag.Taggable
getAndSetTag, getAndUpdateTag, getTag, hasTag, removeTag, setTag, updateAndGetTag, updateTag
Methods inherited from interface net.minestom.server.Viewable
getViewersAsAudience, getViewersAsAudiences, isViewer, sendPacketsToViewers, sendPacketsToViewers, sendPacketToViewers, sendPacketToViewersAndSelf
-
Constructor Details
-
FurnaceInventory
-
FurnaceInventory
-
-
Method Details
-
getRemainingFuelTick
public short getRemainingFuelTick()Represents the amount of tick until the fire icon come empty.- Returns:
- the amount of tick until the fire icon come empty
-
setRemainingFuelTick
public void setRemainingFuelTick(short remainingFuelTick) Represents the amount of tick until the fire icon come empty.- Parameters:
remainingFuelTick
- the amount of tick until the fire icon is empty
-
getMaximumFuelBurnTime
public short getMaximumFuelBurnTime() -
setMaximumFuelBurnTime
public void setMaximumFuelBurnTime(short maximumFuelBurnTime) -
getProgressArrow
public short getProgressArrow() -
setProgressArrow
public void setProgressArrow(short progressArrow) -
getMaximumProgress
public short getMaximumProgress() -
setMaximumProgress
public void setMaximumProgress(short maximumProgress)
-