AnyOfConditionBuilder

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.

script.zs
import crafttweaker.api.loot.condition.builder.AnyOfConditionBuilder;

Extends

AnyOfConditionBuilder extends Builder.

Implements

AnyOfConditionBuilder implements the following interfaces:

LootConditionBuilder

Members

and(other as Builder) as Builder
script.zs
// Builder.and(other as Builder) as Builder;
myBuilder.and(myBuilder);

Parameters:

Return Type: AllOfConditionBuilder

build() as LootItemCondition
script.zs
// Builder.build() as LootItemCondition;
myBuilder.build();

Return Type: LootCondition

invert() as Builder
script.zs
// Builder.invert() as Builder;
myBuilder.invert();

Return Type: LootConditionBuilder

or(condition as Builder) as Builder
script.zs
// Builder.or(condition as Builder) as Builder;
myBuilder.or(myBuilder);

Parameters:

Return Type: AnyOfConditionBuilder