DoubleMinMaxBoundsPredicate

Link to doubleminmaxboundspredicate

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.DoubleMinMaxBoundsPredicate;

Name: any

Return Type: DoubleMinMaxBoundsPredicate

ZenScript
Copy
// DoubleMinMaxBoundsPredicate.any() as DoubleMinMaxBoundsPredicate

DoubleMinMaxBoundsPredicate.any();

Name: atLeast

Return Type: DoubleMinMaxBoundsPredicate

ZenScript
Copy
DoubleMinMaxBoundsPredicate.atLeast(min as double) as DoubleMinMaxBoundsPredicate
参数类型描述
参数
min
类型
双精度
描述
No Description Provided

Name: atMost

Return Type: DoubleMinMaxBoundsPredicate

ZenScript
Copy
DoubleMinMaxBoundsPredicate.atMost(max as double) as DoubleMinMaxBoundsPredicate
参数类型描述
参数
max
类型
双精度
描述
No Description Provided

Name: between

Return Type: DoubleMinMaxBoundsPredicate

ZenScript
Copy
DoubleMinMaxBoundsPredicate.between(min as double, max as double) as DoubleMinMaxBoundsPredicate
参数类型描述
参数
min
类型
双精度
描述
No Description Provided
参数
max
类型
双精度
描述
No Description Provided

Name: exactly

Return Type: DoubleMinMaxBoundsPredicate

ZenScript
Copy
DoubleMinMaxBoundsPredicate.exactly(value as double) as DoubleMinMaxBoundsPredicate
参数类型描述
参数
类型
双精度
描述
No Description Provided