PlayerPredicate

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

Implements

PlayerPredicate implements the following interfaces:

EntitySubPredicate

Members

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

Return Type: PlayerPredicate

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

Return Type: PlayerPredicateBuilder