Class CuredZombieVillagerTrigger.Instance
- java.lang.Object
-
- net.minecraft.advancements.criterion.CriterionInstance
-
- net.minecraft.advancements.criterion.CuredZombieVillagerTrigger.Instance
-
- All Implemented Interfaces:
ICriterionInstance
- Enclosing class:
- CuredZombieVillagerTrigger
public static class CuredZombieVillagerTrigger.Instance extends CriterionInstance
-
-
Field Summary
Fields Modifier and Type Field Description private EntityPredicate.AndPredicate
villager
private EntityPredicate.AndPredicate
zombie
-
Constructor Summary
Constructors Constructor Description Instance(EntityPredicate.AndPredicate p_i231535_1_, EntityPredicate.AndPredicate p_i231535_2_, EntityPredicate.AndPredicate p_i231535_3_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CuredZombieVillagerTrigger.Instance
curedZombieVillager()
boolean
matches(LootContext p_233970_1_, LootContext p_233970_2_)
com.google.gson.JsonObject
serializeToJson(ConditionArraySerializer p_230240_1_)
-
Methods inherited from class net.minecraft.advancements.criterion.CriterionInstance
getCriterion, getPlayerPredicate, toString
-
-
-
-
Field Detail
-
zombie
private final EntityPredicate.AndPredicate zombie
-
villager
private final EntityPredicate.AndPredicate villager
-
-
Constructor Detail
-
Instance
public Instance(EntityPredicate.AndPredicate p_i231535_1_, EntityPredicate.AndPredicate p_i231535_2_, EntityPredicate.AndPredicate p_i231535_3_)
-
-
Method Detail
-
curedZombieVillager
public static CuredZombieVillagerTrigger.Instance curedZombieVillager()
-
matches
public boolean matches(LootContext p_233970_1_, LootContext p_233970_2_)
-
serializeToJson
public com.google.gson.JsonObject serializeToJson(ConditionArraySerializer p_230240_1_)
- Specified by:
serializeToJson
in interfaceICriterionInstance
- Overrides:
serializeToJson
in classCriterionInstance
-
-