Class CuredZombieVillagerTrigger.Instance
java.lang.Object
net.minecraft.advancements.criterion.CriterionInstance
net.minecraft.advancements.criterion.CuredZombieVillagerTrigger.Instance
- All Implemented Interfaces:
ICriterionInstance
- Enclosing class:
- CuredZombieVillagerTrigger
-
Field Summary
Modifier and TypeFieldDescriptionprivate final EntityPredicate.AndPredicate
private final EntityPredicate.AndPredicate
-
Constructor Summary
ConstructorDescriptionInstance
(EntityPredicate.AndPredicate p_i231535_1_, EntityPredicate.AndPredicate p_i231535_2_, EntityPredicate.AndPredicate p_i231535_3_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
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 Details
-
zombie
-
villager
-
-
Constructor Details
-
Instance
public Instance(EntityPredicate.AndPredicate p_i231535_1_, EntityPredicate.AndPredicate p_i231535_2_, EntityPredicate.AndPredicate p_i231535_3_)
-
-
Method Details
-
curedZombieVillager
-
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceICriterionInstance
- Overrides:
serializeToJson
in classCriterionInstance
-