Class StockHolderResetEvent
java.lang.Object
net.okocraft.box.api.event.BoxEvent
net.okocraft.box.api.event.stockholder.StockHolderEvent
net.okocraft.box.api.event.stockholder.StockHolderResetEvent
A
StockHolderResetEvent called when StockHolder has reset.-
Constructor Summary
ConstructorsConstructorDescriptionStockHolderResetEvent(@NotNull StockHolder stockHolder, @NotNull Collection<StockData> stockDataBeforeReset) The constructor ofStockHolderResetEvent. -
Method Summary
Modifier and TypeMethodDescription@NotNull @UnmodifiableView Collection<StockData> GetsStockHolder.toStockDataCollection()before reset@NotNull StringCreates the debug log from this event.toString()Methods inherited from class net.okocraft.box.api.event.stockholder.StockHolderEvent
getStockHolder
-
Constructor Details
-
StockHolderResetEvent
public StockHolderResetEvent(@NotNull @NotNull StockHolder stockHolder, @NotNull @NotNull Collection<StockData> stockDataBeforeReset) The constructor ofStockHolderResetEvent.- Parameters:
stockHolder- the stockholder of the eventstockDataBeforeReset- theStockDatacollection before reset
-
-
Method Details
-
getStockDataBeforeReset
GetsStockHolder.toStockDataCollection()before reset- Returns:
StockHolder.toStockDataCollection()before reset
-
toDebugLog
Description copied from class:BoxEventCreates the debug log from this event.- Overrides:
toDebugLogin classStockHolderEvent- Returns:
- the debug log
-
toString
- Overrides:
toStringin classStockHolderEvent
-