SlimePredicate

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

Implements

SlimePredicate implements the following interfaces:

EntitySubPredicate

Members

static any() as EntitySubPredicate
script.zs
// SlimePredicate.any() as EntitySubPredicate;
SlimePredicate.any();

Return Type: EntitySubPredicate

static create(size as Ints) as SlimePredicate
script.zs
// SlimePredicate.create(size as Ints) as SlimePredicate;
SlimePredicate.create(myInts);

Return Type: SlimePredicate