Class CuredZombieVillagerTrigger.TriggerInstance
java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
net.minecraft.advancements.critereon.CuredZombieVillagerTrigger.TriggerInstance
- All Implemented Interfaces:
CriterionTriggerInstance
- Enclosing class:
- CuredZombieVillagerTrigger
public static class CuredZombieVillagerTrigger.TriggerInstance
extends AbstractCriterionTriggerInstance
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ContextAwarePredicate
private final ContextAwarePredicate
-
Constructor Summary
ConstructorDescriptionTriggerInstance
(ContextAwarePredicate p_286338_, ContextAwarePredicate p_286686_, ContextAwarePredicate p_286773_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(LootContext p_24300_, LootContext p_24301_) com.google.gson.JsonObject
serializeToJson
(SerializationContext p_24298_) Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
zombie
-
villager
-
-
Constructor Details
-
TriggerInstance
public TriggerInstance(ContextAwarePredicate p_286338_, ContextAwarePredicate p_286686_, ContextAwarePredicate p_286773_)
-
-
Method Details
-
curedZombieVillager
-
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-