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.
import crafttweaker.api.predicate.IntMinMaxBoundsPredicate;
Static Methods
Return Type: IntMinMaxBoundsPredicate
// IntMinMaxBoundsPredicate.any() as IntMinMaxBoundsPredicate
IntMinMaxBoundsPredicate.any();
Return Type: IntMinMaxBoundsPredicate
IntMinMaxBoundsPredicate.atLeast(min as int) as IntMinMaxBoundsPredicate
Parameter | Type |
---|---|
Parameter min | Type int |
Return Type: IntMinMaxBoundsPredicate
IntMinMaxBoundsPredicate.atMost(max as int) as IntMinMaxBoundsPredicate
Parameter | Type |
---|---|
Parameter max | Type int |
Return Type: IntMinMaxBoundsPredicate
IntMinMaxBoundsPredicate.between(min as int, max as int) as IntMinMaxBoundsPredicate
Parameter | Type |
---|---|
Parameter min | Type int |
Parameter max | Type int |
Return Type: IntMinMaxBoundsPredicate
IntMinMaxBoundsPredicate.exactly(value as int) as IntMinMaxBoundsPredicate
Parameter | Type |
---|---|
Parameter value | Type int |
Methods
Return Type: boolean
IntMinMaxBoundsPredicate.matches(value as int) as boolean
Parameter | Type |
---|---|
Parameter value | Type int |
Return Type: boolean
IntMinMaxBoundsPredicate.matchesSqr(value as int) as boolean
Parameter | Type |
---|---|
Parameter value | Type int |