StatePropertiesPredicateBuilder
Link to statepropertiespredicatebuilder
导入类
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.builder.StatePropertiesPredicateBuilder;
使用方式
Link to 使用方式
Name: build
Return Type: StatePropertiesPredicate
ZenScript Copy// StatePropertiesPredicateBuilder.build() as StatePropertiesPredicate
myStatePropertiesPredicateBuilder.build();
Name: property
Return Type: StatePropertiesPredicateBuilder
ZenScript CopyStatePropertiesPredicateBuilder.property(name as string, value as boolean) as StatePropertiesPredicateBuilder
参数 | 类型 |
---|---|
参数 name(名称) | 类型 string |
参数 value | 类型 布尔值 |
Name: property
Return Type: StatePropertiesPredicateBuilder
ZenScript CopyStatePropertiesPredicateBuilder.property(name as string, value as int) as StatePropertiesPredicateBuilder
参数 | 类型 |
---|---|
参数 name(名称) | 类型 string |
参数 value | 类型 int |
Name: property
Return Type: StatePropertiesPredicateBuilder
ZenScript CopyStatePropertiesPredicateBuilder.property(name as string, value as IntMinMaxBoundsPredicate) as StatePropertiesPredicateBuilder
参数 | 类型 |
---|---|
参数 name(名称) | 类型 string |
参数 value | 类型 IntMinMaxBoundsPredicate |
Name: property
Return Type: StatePropertiesPredicateBuilder
ZenScript CopyStatePropertiesPredicateBuilder.property(name as string, value as string) as StatePropertiesPredicateBuilder
参数 | 类型 |
---|---|
参数 name(名称) | 类型 string |
参数 value | 类型 string |