EntityEquipmentPredicateBuilder
Link to entityequipmentpredicatebuilder
导入类
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.EntityEquipmentPredicateBuilder;
使用方式
Link to 使用方式
Name: build
Return Type: EntityEquipmentPredicate
ZenScript Copy// EntityEquipmentPredicateBuilder.build() as EntityEquipmentPredicate
myEntityEquipmentPredicateBuilder.build();
Name: chest
Return Type: EntityEquipmentPredicateBuilder
ZenScript CopyEntityEquipmentPredicateBuilder.chest(predicate as ItemPredicate) as EntityEquipmentPredicateBuilder
参数 | 类型 |
---|---|
参数 predicate | 类型 ItemPredicate |
Name: chest
Return Type: EntityEquipmentPredicateBuilder
ZenScript CopyEntityEquipmentPredicateBuilder.chest(predicate as ItemPredicateBuilder) as EntityEquipmentPredicateBuilder
参数 | 类型 |
---|---|
参数 predicate | 类型 ItemPredicateBuilder |
Name: feet
Return Type: EntityEquipmentPredicateBuilder
ZenScript CopyEntityEquipmentPredicateBuilder.feet(predicate as ItemPredicate) as EntityEquipmentPredicateBuilder
参数 | 类型 |
---|---|
参数 predicate | 类型 ItemPredicate |
Name: feet
Return Type: EntityEquipmentPredicateBuilder
ZenScript CopyEntityEquipmentPredicateBuilder.feet(predicate as ItemPredicateBuilder) as EntityEquipmentPredicateBuilder
参数 | 类型 |
---|---|
参数 predicate | 类型 ItemPredicateBuilder |
Name: head
Return Type: EntityEquipmentPredicateBuilder
ZenScript CopyEntityEquipmentPredicateBuilder.head(predicate as ItemPredicate) as EntityEquipmentPredicateBuilder
参数 | 类型 |
---|---|
参数 predicate | 类型 ItemPredicate |
Name: head
Return Type: EntityEquipmentPredicateBuilder
ZenScript CopyEntityEquipmentPredicateBuilder.head(predicate as ItemPredicateBuilder) as EntityEquipmentPredicateBuilder
参数 | 类型 |
---|---|
参数 predicate | 类型 ItemPredicateBuilder |
Name: legs
Return Type: EntityEquipmentPredicateBuilder
ZenScript CopyEntityEquipmentPredicateBuilder.legs(predicate as ItemPredicate) as EntityEquipmentPredicateBuilder
参数 | 类型 |
---|---|
参数 predicate | 类型 ItemPredicate |
Name: legs
Return Type: EntityEquipmentPredicateBuilder
ZenScript CopyEntityEquipmentPredicateBuilder.legs(predicate as ItemPredicateBuilder) as EntityEquipmentPredicateBuilder
参数 | 类型 |
---|---|
参数 predicate | 类型 ItemPredicateBuilder |
Name: mainHand
Return Type: EntityEquipmentPredicateBuilder
ZenScript CopyEntityEquipmentPredicateBuilder.mainHand(predicate as ItemPredicate) as EntityEquipmentPredicateBuilder
参数 | 类型 |
---|---|
参数 predicate | 类型 ItemPredicate |
Name: mainHand
Return Type: EntityEquipmentPredicateBuilder
ZenScript CopyEntityEquipmentPredicateBuilder.mainHand(predicate as ItemPredicateBuilder) as EntityEquipmentPredicateBuilder
参数 | 类型 |
---|---|
参数 predicate | 类型 ItemPredicateBuilder |
Name: offHand
Return Type: EntityEquipmentPredicateBuilder
ZenScript CopyEntityEquipmentPredicateBuilder.offHand(predicate as ItemPredicate) as EntityEquipmentPredicateBuilder
参数 | 类型 |
---|---|
参数 predicate | 类型 ItemPredicate |
Name: offHand
Return Type: EntityEquipmentPredicateBuilder
ZenScript CopyEntityEquipmentPredicateBuilder.offHand(predicate as ItemPredicateBuilder) as EntityEquipmentPredicateBuilder
参数 | 类型 |
---|---|
参数 predicate | 类型 ItemPredicateBuilder |