BlockStatePropertyLootConditionBuilder

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

Implements

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

Parameters:

Return Type: AnyOfConditionBuilder

properties(predicate as Builder) as Builder
script.zs
// Builder.properties(predicate as Builder) as Builder;
myBuilder.properties(myBuilder);

Return Type: BlockStatePropertyLootConditionBuilder