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.

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

Static Methods

Return Type: DoubleMinMaxBoundsPredicate

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

Return Type: DoubleMinMaxBoundsPredicate

script.zs
DoubleMinMaxBoundsPredicate.atLeast(min as double) as DoubleMinMaxBoundsPredicate
ParameterTypeDescription
Parameter
min
Type
double
Description
No Description Provided

Return Type: DoubleMinMaxBoundsPredicate

script.zs
DoubleMinMaxBoundsPredicate.atMost(max as double) as DoubleMinMaxBoundsPredicate
ParameterTypeDescription
Parameter
max
Type
double
Description
No Description Provided

Return Type: DoubleMinMaxBoundsPredicate

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

Return Type: DoubleMinMaxBoundsPredicate

script.zs
DoubleMinMaxBoundsPredicate.exactly(value as double) as DoubleMinMaxBoundsPredicate
ParameterTypeDescription
Parameter
value
Type
double
Description
No Description Provided