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
ParameterTypeDescription
Parameter
min
Type
int
Description
No Description Provided

Return Type: IntMinMaxBoundsPredicate

script.zs
IntMinMaxBoundsPredicate.atMost(max as int) as IntMinMaxBoundsPredicate
ParameterTypeDescription
Parameter
max
Type
int
Description
No Description Provided

Return Type: IntMinMaxBoundsPredicate

script.zs
IntMinMaxBoundsPredicate.between(min as int, max as int) as IntMinMaxBoundsPredicate
ParameterTypeDescription
Parameter
min
Type
int
Description
No Description Provided
Parameter
max
Type
int
Description
No Description Provided

Return Type: IntMinMaxBoundsPredicate

script.zs
IntMinMaxBoundsPredicate.exactly(value as int) as IntMinMaxBoundsPredicate
ParameterTypeDescription
Parameter
value
Type
int
Description
No Description Provided