MechanicalCrafterManager
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Description
Implements
MechanicalCrafterManager
implements the following interfaces:
IRecipeManager<MechanicalCraftingRecipe>
,CommandStringDisplayable
Undocumented Interfaces
Iterable<Recipe>
Members
addMirroredRecipe(name as string, output as IItemStack, ingredients as IIngredient[][])
Adds a mirrored recipe to the Mechanical Crafter.
Parameters:
name: string
Type: string
- The name of the recipe. addRecipe(name as string, output as IItemStack, ingredients as IIngredient[][])
Adds a recipe to the Mechanical Crafter.
Parameters:
name: string
Type: string
- The name of the recipe. Getter
Return Type:
string
commandString() as string
Return Type:
string
getRecipeByName(name as string) as Recipe
Parameters:
name: string
Type: string
Return Type:
Recipe
getRecipesByOutput(output as IIngredient) as List<Recipe>
Parameters:
output: IIngredient
Type: IIngredient
Return Type:
List<Recipe>
Getter
Return Type:
Recipe[ResourceLocation]
recipeMap() as Recipe[ResourceLocation]
Return Type:
Recipe[ResourceLocation]
remove(output as IIngredient)
Parameters:
output: IIngredient
Type: IIngredient
removeAll()
removeByInput(input as IItemStack)
Parameters:
input: IItemStack
Type: IItemStack
removeByModid(modid as string, exclude as function(t as string) as bool = (name as string) as bool => false)
Parameters:
modid: string
Type: string
exclude: function(t as string) as bool
(optional) Type: function(t as string) as bool
Default Value: (name as string) as bool => false
removeByName(names as string[])
Parameters:
names: string[]
Type: string[]
removeByRegex(regex as string, exclude as function(t as string) as bool = (name as string) as bool => false)
Parameters:
regex: string
Type: string
exclude: function(t as string) as bool
(optional) Type: function(t as string) as bool
Default Value: (name as string) as bool => false