Class FloristFlowerListModuleView
java.lang.Object
com.minecolonies.api.colony.buildings.modules.AbstractBuildingModuleView
com.minecolonies.core.colony.buildings.moduleviews.ItemListModuleView
com.minecolonies.core.colony.buildings.moduleviews.FloristFlowerListModuleView
- All Implemented Interfaces:
IBuildingModuleView,IItemListModuleView
Specific florist item list module view.
-
Field Summary
Fields inherited from class com.minecolonies.api.colony.buildings.modules.AbstractBuildingModuleView
buildingView, colonyView -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new florist specific list module view. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddItem(ItemStorage item) Add item to the view and notify the server side.voidremoveItem(ItemStorage item) Remove an item from the view and notify the server side.Methods inherited from class com.minecolonies.core.colony.buildings.moduleviews.ItemListModuleView
clearItems, deserialize, getAllItems, getDesc, getIconResourceLocation, getId, getSize, getWindow, isAllowedItem, isInvertedMethods inherited from class com.minecolonies.api.colony.buildings.modules.AbstractBuildingModuleView
canBeHiredAs, getBuildingView, getColony, getProducer, setBuildingView, setColonyView, setProducerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.minecolonies.api.colony.buildings.modules.IBuildingModuleView
getBuildingView, getColony, getIcon, getProducer, isPageVisible, setBuildingView, setColonyView, setProducer
-
Constructor Details
-
FloristFlowerListModuleView
public FloristFlowerListModuleView()Create a new florist specific list module view.
-
-
Method Details
-
removeItem
Description copied from interface:IItemListModuleViewRemove an item from the view and notify the server side.- Specified by:
removeItemin interfaceIItemListModuleView- Overrides:
removeItemin classItemListModuleView- Parameters:
item- the item to remove.
-
addItem
Description copied from interface:IItemListModuleViewAdd item to the view and notify the server side.- Specified by:
addItemin interfaceIItemListModuleView- Overrides:
addItemin classItemListModuleView- Parameters:
item- the item to add.
-