public static class CuredZombieVillagerTrigger.Instance extends CriterionInstance
Modifier and Type | Field and Description |
---|---|
private EntityPredicate |
villager |
private EntityPredicate |
zombie |
Constructor and Description |
---|
Instance(EntityPredicate zombie,
EntityPredicate villager) |
Modifier and Type | Method and Description |
---|---|
static CuredZombieVillagerTrigger.Instance |
any() |
com.google.gson.JsonElement |
serialize() |
boolean |
test(ServerPlayerEntity player,
ZombieEntity zombie,
VillagerEntity villager) |
getId, toString
private final EntityPredicate zombie
private final EntityPredicate villager
public Instance(EntityPredicate zombie, EntityPredicate villager)
public static CuredZombieVillagerTrigger.Instance any()
public boolean test(ServerPlayerEntity player, ZombieEntity zombie, VillagerEntity villager)
public com.google.gson.JsonElement serialize()