IntMinMaxBoundsPredicate

Importing the class

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

script.zs
import crafttweaker.api.predicate.IntMinMaxBoundsPredicate;

Static Methods

Return Type: IntMinMaxBoundsPredicate

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

Return Type: IntMinMaxBoundsPredicate

script.zs
IntMinMaxBoundsPredicate.atLeast(min as int) as IntMinMaxBoundsPredicate
ParameterType
Parameter
min
Type
int

Return Type: IntMinMaxBoundsPredicate

script.zs
IntMinMaxBoundsPredicate.atMost(max as int) as IntMinMaxBoundsPredicate
ParameterType
Parameter
max
Type
int

Return Type: IntMinMaxBoundsPredicate

script.zs
IntMinMaxBoundsPredicate.between(min as int, max as int) as IntMinMaxBoundsPredicate
ParameterType
Parameter
min
Type
int
Parameter
max
Type
int

Return Type: IntMinMaxBoundsPredicate

script.zs
IntMinMaxBoundsPredicate.exactly(value as int) as IntMinMaxBoundsPredicate
ParameterType
Parameter
value
Type
int