IntMinMaxBoundsPredicate
Link to intminmaxboundspredicate
导入类
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.IntMinMaxBoundsPredicate;
Static Methods
Link to static-methods
Name: any
Return Type: IntMinMaxBoundsPredicate
ZenScript Copy// IntMinMaxBoundsPredicate.any() as IntMinMaxBoundsPredicate
IntMinMaxBoundsPredicate.any();
Name: atLeast
Return Type: IntMinMaxBoundsPredicate
ZenScript CopyIntMinMaxBoundsPredicate.atLeast(min as int) as IntMinMaxBoundsPredicate
参数 | 类型 |
---|---|
参数 min | 类型 int |
Name: atMost
Return Type: IntMinMaxBoundsPredicate
ZenScript CopyIntMinMaxBoundsPredicate.atMost(max as int) as IntMinMaxBoundsPredicate
参数 | 类型 |
---|---|
参数 max | 类型 int |
Name: between
Return Type: IntMinMaxBoundsPredicate
ZenScript CopyIntMinMaxBoundsPredicate.between(min as int, max as int) as IntMinMaxBoundsPredicate
参数 | 类型 |
---|---|
参数 min | 类型 int |
参数 max | 类型 int |
Name: exactly
Return Type: IntMinMaxBoundsPredicate
ZenScript CopyIntMinMaxBoundsPredicate.exactly(value as int) as IntMinMaxBoundsPredicate
参数 | 类型 |
---|---|
参数 value | 类型 int |