DoubleMinMaxBoundsPredicate
Link to doubleminmaxboundspredicate
导入类
Link to 导入类
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 Copyimport crafttweaker.api.predicate.DoubleMinMaxBoundsPredicate;
Static Methods
Link to static-methods
Name: any
Return Type: DoubleMinMaxBoundsPredicate
ZenScript Copy// DoubleMinMaxBoundsPredicate.any() as DoubleMinMaxBoundsPredicate
DoubleMinMaxBoundsPredicate.any();
Name: atLeast
Return Type: DoubleMinMaxBoundsPredicate
ZenScript CopyDoubleMinMaxBoundsPredicate.atLeast(min as double) as DoubleMinMaxBoundsPredicate
参数 | 类型 |
---|---|
参数 min | 类型 double |
Name: atMost
Return Type: DoubleMinMaxBoundsPredicate
ZenScript CopyDoubleMinMaxBoundsPredicate.atMost(max as double) as DoubleMinMaxBoundsPredicate
参数 | 类型 |
---|---|
参数 max | 类型 double |
Name: between
Return Type: DoubleMinMaxBoundsPredicate
ZenScript CopyDoubleMinMaxBoundsPredicate.between(min as double, max as double) as DoubleMinMaxBoundsPredicate
参数 | 类型 |
---|---|
参数 min | 类型 double |
参数 max | 类型 double |
Name: exactly
Return Type: DoubleMinMaxBoundsPredicate
ZenScript CopyDoubleMinMaxBoundsPredicate.exactly(value as double) as DoubleMinMaxBoundsPredicate
参数 | 类型 |
---|---|
参数 value | 类型 double |