Class CommandCauses
java.lang.Object
net.okocraft.box.feature.command.event.stock.CommandCauses
A class for implementing
StockEvent.Cause
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
AStockEvent.Cause
implementation that indicates increasing stock by an admin.static final record
AStockEvent.Cause
implementation that indicates resetting stock by an admin.static final record
AStockEvent.Cause
implementation that indicates setting stock by an admin.static final record
AStockEvent.Cause
implementation that indicates decreasing stock by an admin.static final record
AStockEvent.Cause
implementation that indicates giving items to the other player.static final record
AStockEvent.Cause
implementation that indicates receiving items from the other player. -
Field Summary
Modifier and TypeFieldDescriptionstatic final StockEvent.Cause
AStockEvent.Cause
that indicates depositing to ownStockHolder
.static final StockEvent.Cause
AStockEvent.Cause
that indicates withdrawing from ownStockHolder
. -
Method Summary
-
Field Details
-
DEPOSIT
AStockEvent.Cause
that indicates depositing to ownStockHolder
. -
WITHDRAW
AStockEvent.Cause
that indicates withdrawing from ownStockHolder
.
-