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 EntityPredicate.Composite
private final EntityPredicate.Composite
-
Constructor Summary
ConstructorDescriptionTriggerInstance
(EntityPredicate.Composite p_24294_, EntityPredicate.Composite p_24295_, EntityPredicate.Composite p_24296_) -
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(EntityPredicate.Composite p_24294_, EntityPredicate.Composite p_24295_, EntityPredicate.Composite p_24296_)
-
-
Method Details
-
curedZombieVillager
-
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-