EntityEquipmentPredicate
Importing the class
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.
import crafttweaker.api.predicate.EntityEquipmentPredicate;
Static Methods
Return Type: EntityEquipmentPredicate
// EntityEquipmentPredicate.any() as EntityEquipmentPredicate
EntityEquipmentPredicate.any();
Return Type: EntityEquipmentPredicate
// EntityEquipmentPredicate.captain() as EntityEquipmentPredicate
EntityEquipmentPredicate.captain();
Return Type: EntityEquipmentPredicateBuilder
// EntityEquipmentPredicate.create() as EntityEquipmentPredicateBuilder
EntityEquipmentPredicate.create();
Methods
Return Type: boolean
EntityEquipmentPredicate.matches(entity as Entity?) as boolean
Parameter | Type |
---|---|
Parameter entity | Type Entity? |