DoubleMinMaxBoundsPredicate

Importing the class

If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.

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

Extends

DoubleMinMaxBoundsPredicate extends MinMaxBounds<Double>.

Members

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

Return Type: DoubleMinMaxBoundsPredicate

static atLeast(min as double) as Doubles
script.zs
// Doubles.atLeast(min as double) as Doubles;
DoubleMinMaxBoundsPredicate.atLeast(myDouble);

Parameters:

min Type: double

Return Type: DoubleMinMaxBoundsPredicate

static atMost(max as double) as Doubles
script.zs
// Doubles.atMost(max as double) as Doubles;
DoubleMinMaxBoundsPredicate.atMost(myDouble);

Parameters:

max Type: double

Return Type: DoubleMinMaxBoundsPredicate

static between(min as double, max as double) as Doubles
script.zs
// Doubles.between(min as double, max as double) as Doubles;
DoubleMinMaxBoundsPredicate.between(myDouble, myDouble);

Parameters:

min Type: double
max Type: double

Return Type: DoubleMinMaxBoundsPredicate

static exactly(value as double) as Doubles
script.zs
// Doubles.exactly(value as double) as Doubles;
DoubleMinMaxBoundsPredicate.exactly(myDouble);

Parameters:

value Type: double

Return Type: DoubleMinMaxBoundsPredicate