public static class CuredZombieVillagerCriterion.Conditions extends AbstractCriterionConditions
Modifier and Type | Field and Description |
---|---|
private EntityPredicate |
villager |
private EntityPredicate |
zombie |
Constructor and Description |
---|
Conditions(EntityPredicate zombie,
EntityPredicate villager) |
Modifier and Type | Method and Description |
---|---|
static CuredZombieVillagerCriterion.Conditions |
any() |
boolean |
matches(ServerPlayerEntity player,
ZombieEntity zombie,
VillagerEntity villager) |
JsonElement |
toJson() |
getId, toString
private final EntityPredicate zombie
private final EntityPredicate villager
public Conditions(EntityPredicate zombie, EntityPredicate villager)
public static CuredZombieVillagerCriterion.Conditions any()
public boolean matches(ServerPlayerEntity player, ZombieEntity zombie, VillagerEntity villager)
public JsonElement toJson()