Invalid leaf directive! `since`

NotFilteringRule

Link to notfilteringrule

Inverts a filtering rule.

This rule should be used sparingly as it incurs a performance loss due to having to loop over all recipes multiple times to perform the inversion of the rule.

Importare la Classe

Link to importare-la-classe

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import crafttweaker.api.recipe.replacement.type.NotFilteringRule;

Interfacce Implementate

Link to interfacce-implementate

NotFilteringRule implements the following interfaces. That means all methods defined in these interfaces are also available in NotFilteringRule

Name: of

Inverts the specified rule.

Returns: The inverted rule.
Return Type: NotFilteringRule

ZenScript
Copy
NotFilteringRule.of(rule as IFilteringRule) as NotFilteringRule
ParametroTipoDescrizione
Parametro
rule
Tipo
IFilteringRule
Descrizione
The rule to invert.