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>
-
Field Summary
Fields inherited from class com.tagnumelite.projecteintegration.api.recipe.ABaseRecipeMapper
fakeGroupManager, mapper, recipeID, registryAccess -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract List<net.minecraft.world.item.crafting.Ingredient> getIngredients(R recipe) String[]Returns an array of one required mod from theCustomRecipeMapperannotationprotected abstract net.minecraft.world.item.ItemStackfinal booleanhandleRecipe(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) Methods inherited from class com.tagnumelite.projecteintegration.api.recipe.ABaseRecipeMapper
addConversionsAndReturn, addIngredient, convertFluidIngredient, convertFluidIngredient, convertFluidIngredient, convertFluidIngredients, convertIngredient, convertIngredient, convertItemStack, convertRecipe, convertSingleFluidStack, convertSingleIngredient, convertSingleIngredient, convertSingleItemStack, getDescription, getFakeGroup, getOutputBuilder, mapOutput, mapOutputsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tagnumelite.projecteintegration.api.recipe.IRecipeMapper
getName
-
Constructor Details
-
ACustomRecipeMapper
public ACustomRecipeMapper()
-
-
Method Details
-
getRecipes
-
getIngredients
-
getResult
-
getInput
-
getOutput
-
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
Returns an array of one required mod from theCustomRecipeMapperannotation- Specified by:
getRequiredModsin classABaseRecipeMapper<R>- Returns:
- An array of a modid or a single array of 'unregistered_mapper'.
-