public static class EntityEquipmentPredicate.Builder extends Object
Modifier and Type | Field and Description |
---|---|
private ItemPredicate |
chest |
private ItemPredicate |
feet |
private ItemPredicate |
head |
private ItemPredicate |
legs |
private ItemPredicate |
mainhand |
private ItemPredicate |
offhand |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EntityEquipmentPredicate |
build() |
EntityEquipmentPredicate.Builder |
chest(ItemPredicate chest) |
static EntityEquipmentPredicate.Builder |
create() |
EntityEquipmentPredicate.Builder |
feet(ItemPredicate feet) |
EntityEquipmentPredicate.Builder |
head(ItemPredicate head) |
EntityEquipmentPredicate.Builder |
legs(ItemPredicate legs) |
private ItemPredicate head
private ItemPredicate chest
private ItemPredicate legs
private ItemPredicate feet
private ItemPredicate mainhand
private ItemPredicate offhand
public static EntityEquipmentPredicate.Builder create()
public EntityEquipmentPredicate.Builder head(ItemPredicate head)
public EntityEquipmentPredicate.Builder chest(ItemPredicate chest)
public EntityEquipmentPredicate.Builder legs(ItemPredicate legs)
public EntityEquipmentPredicate.Builder feet(ItemPredicate feet)
public EntityEquipmentPredicate build()