Interface IMinimumStockModuleView
- All Superinterfaces:
IBuildingModuleView
- All Known Implementing Classes:
MinimumStockModuleView,PostBox.PostBoxMinimumStockModuleView
Client side version of the abstract class for all buildings which require a filterable list of allowed items.
-
Method Summary
Modifier and TypeMethodDescriptiongetStock()The minimum stock.booleanCheck if the warehouse has reached the limit.Methods inherited from interface com.minecolonies.api.colony.buildings.modules.IBuildingModuleView
deserialize, getBuildingView, getColony, getDesc, getIcon, getIconResourceLocation, getProducer, getWindow, isPageVisible, setBuildingView, setColonyView, setProducer
-
Method Details
-
getStock
List<Tuple<ItemStorage,Integer>> getStock()The minimum stock.- Returns:
- the stock.
-
hasReachedLimit
boolean hasReachedLimit()Check if the warehouse has reached the limit.- Returns:
- true if so.
-