ManagerFilteringRule
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.
import crafttweaker.api.recipe.replacement.type.ManagerFilteringRule;
Description
Filters recipes based on theirIRecipeManager
. Implements
ManagerFilteringRule
implements the following interfaces:
IFilteringRule
,ITargetingFilter
Members
static of(managers as IRecipeManager<?>[]) as IFilteringRule
Creates a new rule filtering recipes based on the given managers.script.zs
Returns: A new rule carrying out the specified operation.
ManagerFilteringRule.of(myIRecipeManager<?>[]);
Parameters:
Return Type:
IFilteringRule