TimeCheckLootConditionBuilder

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

Implements

TimeCheckLootConditionBuilder 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

period(period as long) as Builder
script.zs
// Builder.period(period as long) as Builder;
myBuilder.period(myLong);

Parameters:

period Type: long

Return Type: TimeCheckLootConditionBuilder