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