public class CuredZombieVillagerTrigger extends AbstractCriterionTrigger<CuredZombieVillagerTrigger.Instance>
| Modifier and Type | Class and Description |
|---|---|
static class |
CuredZombieVillagerTrigger.Instance |
ICriterionTrigger.Listener<T extends ICriterionInstance>| Modifier and Type | Field and Description |
|---|---|
private static ResourceLocation |
ID |
| Constructor and Description |
|---|
CuredZombieVillagerTrigger() |
| Modifier and Type | Method and Description |
|---|---|
CuredZombieVillagerTrigger.Instance |
deserializeInstance(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context) |
ResourceLocation |
getId() |
void |
trigger(ServerPlayerEntity player,
ZombieEntity zombie,
VillagerEntity villager) |
addListener, func_227070_a_, func_227071_b_, removeAllListeners, removeListenerprivate static final ResourceLocation ID
public ResourceLocation getId()
public CuredZombieVillagerTrigger.Instance deserializeInstance(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
public void trigger(ServerPlayerEntity player, ZombieEntity zombie, VillagerEntity villager)