Package net.okocraft.box.api.model.stock
Interface PersonalStockHolder
- All Superinterfaces:
StockHolder
,StockHolderWrapper
An interface that wraps the
StockHolder
owned by a user-
Method Summary
Modifier and TypeMethodDescription@NotNull BoxUser
getUser()
Gets theBoxUser
who has thisStockHolder
.Methods inherited from interface net.okocraft.box.api.model.stock.StockHolder
decreaseIfPossible, getAmount
Methods inherited from interface net.okocraft.box.api.model.stock.StockHolderWrapper
decrease, decreaseIfPossible, decreaseIfPossible, decreaseToZero, delegate, getAmount, getName, getStockedItems, getUUID, increase, reset, setAmount, toStockDataCollection
-
Method Details
-
getUser
Gets theBoxUser
who has thisStockHolder
.- Returns:
- the
BoxUser
who has thisStockHolder
-