Interface IAltersRequiredItems

All Superinterfaces:
IBuildingModule, IHasDirty
All Known Implementing Classes:
FurnaceUserModule, MinimumStockModule, RestaurantMenuModule

public interface IAltersRequiredItems extends IBuildingModule
Module type to register specific blocks to a building (beds, workstations, etc).
  • Method Details

    • alterItemsToBeKept

      void alterItemsToBeKept(org.apache.logging.log4j.util.TriConsumer<Predicate<net.minecraft.world.item.ItemStack>,Integer,Boolean> consumer)
      Check if additional items have to be kept and add to map if necessary.
      Parameters:
      consumer - consumer that adds items to it.