IntMinMaxBoundsPredicate

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

Extends

IntMinMaxBoundsPredicate extends MinMaxBounds<Integer>.

Members

static any() as Ints
script.zs
// Ints.any() as Ints;
IntMinMaxBoundsPredicate.any();

Return Type: IntMinMaxBoundsPredicate

static atLeast(min as int) as Ints
script.zs
// Ints.atLeast(min as int) as Ints;
IntMinMaxBoundsPredicate.atLeast(myInt);

Parameters:

min Type: int

Return Type: IntMinMaxBoundsPredicate

static atMost(max as int) as Ints
script.zs
// Ints.atMost(max as int) as Ints;
IntMinMaxBoundsPredicate.atMost(myInt);

Parameters:

max Type: int

Return Type: IntMinMaxBoundsPredicate

static between(min as int, max as int) as Ints
script.zs
// Ints.between(min as int, max as int) as Ints;
IntMinMaxBoundsPredicate.between(myInt, myInt);

Parameters:

min Type: int
max Type: int

Return Type: IntMinMaxBoundsPredicate

static exactly(value as int) as Ints
script.zs
// Ints.exactly(value as int) as Ints;
IntMinMaxBoundsPredicate.exactly(myInt);

Parameters:

value Type: int

Return Type: IntMinMaxBoundsPredicate