Class AbstractCraftingBuildingModule.Domum

All Implemented Interfaces:
IBuildingModule, ICraftingBuildingModule, ICreatesResolversModule, IHasRequiredItemsModule, IPersistentModule, ITickingModule, IHasDirty
Direct Known Subclasses:
BuildingFletcher.DOCraftingModule, BuildingGlassblower.DOCraftingModule, BuildingMechanic.DOCraftingModule, BuildingSawmill.DOCraftingModule, BuildingStonemason.DOCraftingModule
Enclosing class:
AbstractCraftingBuildingModule

public abstract static class AbstractCraftingBuildingModule.Domum extends AbstractCraftingBuildingModule
this module is for Domum Ornamentum cutter recipes
  • Constructor Details

    • Domum

      public Domum(@NotNull @NotNull JobEntry jobEntry)
      Create a new module.
      Parameters:
      jobEntry - the entry of the job.
  • Method Details

    • getSupportedCraftingTypes

      public Set<CraftingType> getSupportedCraftingTypes()
      Description copied from interface: ICraftingBuildingModule
      Get the supported crafting types.
      Returns:
      a set of types.
    • isRecipeCompatible

      public boolean isRecipeCompatible(@NotNull @NotNull IGenericRecipe recipe)
      Description copied from interface: ICraftingBuildingModule
      Checks if this particular recipe is *possible* to be learned by this building (or otherwise possible to be crafted there). This is checked without regard to specific colony or level of building, or whether there are spare recipe slots or not.
      Parameters:
      recipe - The recipe to check.
      Returns:
      True if this recipe could be produced/taught.
    • getId

      @NotNull public @NotNull String getId()
      Description copied from interface: ICraftingBuildingModule
      Gets an id *suffix* for this particular crafting module, to disambiguate between multiple modules with the same job. This is not unique by itself.
      Specified by:
      getId in interface ICraftingBuildingModule
      Specified by:
      getId in class AbstractCraftingBuildingModule
      Returns:
      The disambiguating id suffix.