AllOfConditionBuilder

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.AllOfConditionBuilder;

Extends

AllOfConditionBuilder extends Builder.

Implements

AllOfConditionBuilder implements the following interfaces:

LootConditionBuilder

Members

and(condition as Builder) as Builder
script.zs
// Builder.and(condition 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(other as Builder) as Builder
script.zs
// Builder.or(other as Builder) as Builder;
myBuilder.or(myBuilder);

Parameters:

Return Type: AnyOfConditionBuilder