Class ItemListModule

java.lang.Object
com.minecolonies.api.colony.buildings.modules.AbstractBuildingModule
com.minecolonies.core.colony.buildings.modules.ItemListModule
All Implemented Interfaces:
IBuildingModule, IItemListModule, IPersistentModule, IHasDirty

public class ItemListModule extends AbstractBuildingModule implements IItemListModule, IPersistentModule
Abstract class for all buildings which require a filterable list of allowed/blocked items.
  • Constructor Details

    • ItemListModule

      public ItemListModule(String id)
      Construct a new grouped itemlist module with the unique list identifier.
      Parameters:
      id - the list id.
    • ItemListModule

      public ItemListModule(String id, ItemStorage... defaultStacks)
      Construct a new grouped itemlist module with the unique list identifier and default values.
      Parameters:
      id - the list id.
      defaultStacks - the default values.
  • Method Details