ItemPredicate
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.
Members
static create() as Builder
Return Type:
ItemPredicateBuilder
static create(items as Item[]) as Builder
Parameters:
items: ItemDefinition[]
Type: ItemDefinition[]
Return Type:
ItemPredicateBuilder
static create(items as IItemStack[]) as Builder
Parameters:
items: IItemStack[]
Type: IItemStack[]
Return Type:
ItemPredicateBuilder
static create(tag as KnownTag<Item>) as Builder
Parameters:
tag: KnownTag<ItemDefinition>
Type: KnownTag<ItemDefinition>
Return Type:
ItemPredicateBuilder