IntMinMaxBoundsPredicate

Link to intminmaxboundspredicate

Importing the class

Link to 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.

ZenScript
Copy
import crafttweaker.api.predicate.IntMinMaxBoundsPredicate;

Extending Record

Link to extending-record

IntMinMaxBoundsPredicate extends Record. That means all methods available in Record are also available in IntMinMaxBoundsPredicate

Name: any

Return Type: IntMinMaxBoundsPredicate

ZenScript
Copy
// IntMinMaxBoundsPredicate.any() as IntMinMaxBoundsPredicate

IntMinMaxBoundsPredicate.any();

Name: atLeast

Return Type: IntMinMaxBoundsPredicate

ZenScript
Copy
IntMinMaxBoundsPredicate.atLeast(min as int) as IntMinMaxBoundsPredicate
ParameterType
Parameter
min
Type
int

Name: atMost

Return Type: IntMinMaxBoundsPredicate

ZenScript
Copy
IntMinMaxBoundsPredicate.atMost(max as int) as IntMinMaxBoundsPredicate
ParameterType
Parameter
max
Type
int

Name: between

Return Type: IntMinMaxBoundsPredicate

ZenScript
Copy
IntMinMaxBoundsPredicate.between(min as int, max as int) as IntMinMaxBoundsPredicate
ParameterType
Parameter
min
Type
int
Parameter
max
Type
int

Name: exactly

Return Type: IntMinMaxBoundsPredicate

ZenScript
Copy
IntMinMaxBoundsPredicate.exactly(value as int) as IntMinMaxBoundsPredicate
ParameterType
Parameter
value
Type
int