DamageSourcePredicateBuilder
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.
Members
build() as DamageSourcePredicate
Return Type:
DamageSourcePredicate
direct(entityPredicate as Builder) as Builder
Parameters:
entityPredicate: EntityPredicateBuilder
Type: EntityPredicateBuilder
Return Type:
DamageSourcePredicateBuilder
source(entityPredicate as Builder) as Builder
Parameters:
entityPredicate: EntityPredicateBuilder
Type: EntityPredicateBuilder
Return Type:
DamageSourcePredicateBuilder
tag(tag as TagPredicate<DamageType>) as Builder
Parameters:
tag: TagPredicate<DamageType>
Type: TagPredicate<DamageType>
Return Type:
DamageSourcePredicateBuilder