DamageSourcePredicate

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.predicate.DamageSourcePredicate;

Members

static any() as DamageSourcePredicate
script.zs
// DamageSourcePredicate.any() as DamageSourcePredicate;
DamageSourcePredicate.any();

Return Type: DamageSourcePredicate

static create() as Builder
script.zs
// DamageSourcePredicate.create() as Builder;
DamageSourcePredicate.create();

Return Type: DamageSourcePredicateBuilder