Class ACustomRecipeMapper<R>

java.lang.Object
com.tagnumelite.projecteintegration.api.recipe.ABaseRecipeMapper<R>
com.tagnumelite.projecteintegration.api.recipe.ACustomRecipeMapper<R>
All Implemented Interfaces:
IRecipeMapper<R>

public abstract class ACustomRecipeMapper<R> extends ABaseRecipeMapper<R>
  • Constructor Details

    • ACustomRecipeMapper

      public ACustomRecipeMapper()
  • Method Details

    • getRecipes

      public abstract List<R> getRecipes()
    • getIngredients

      protected abstract List<net.minecraft.world.item.crafting.Ingredient> getIngredients(R recipe)
    • getResult

      protected abstract net.minecraft.world.item.ItemStack getResult(R recipe)
    • getInput

      public NSSInput getInput(R recipe)
    • getOutput

      public NSSOutput getOutput(R recipe)
    • handleRecipe

      public final boolean handleRecipe(moze_intel.projecte.api.mapper.collector.IMappingCollector<moze_intel.projecte.api.nss.NormalizedSimpleStack,Long> mapper, Object recipe, net.minecraft.core.RegistryAccess registryAccess, moze_intel.projecte.api.mapper.recipe.INSSFakeGroupManager fakeGroupManager)
      Parameters:
      mapper -
      recipe -
      registryAccess -
      fakeGroupManager -
      Returns:
    • getRequiredMods

      public String[] getRequiredMods()
      Returns an array of one required mod from the CustomRecipeMapper annotation
      Specified by:
      getRequiredMods in class ABaseRecipeMapper<R>
      Returns:
      An array of a modid or a single array of 'unregistered_mapper'.