Class CuredZombieVillagerTrigger.TriggerInstance
java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
net.minecraft.advancements.critereon.CuredZombieVillagerTrigger.TriggerInstance
- All Implemented Interfaces:
SimpleCriterionTrigger.SimpleInstance
,CriterionTriggerInstance
- Enclosing class:
- CuredZombieVillagerTrigger
public static class CuredZombieVillagerTrigger.TriggerInstance
extends AbstractCriterionTriggerInstance
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Optional<ContextAwarePredicate>
private final Optional<ContextAwarePredicate>
-
Constructor Summary
ConstructorDescriptionTriggerInstance
(Optional<ContextAwarePredicate> p_300542_, Optional<ContextAwarePredicate> p_298691_, Optional<ContextAwarePredicate> p_301026_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(LootContext p_24300_, LootContext p_24301_) com.google.gson.JsonObject
Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
playerPredicate
-
Field Details
-
zombie
-
villager
-
-
Constructor Details
-
TriggerInstance
public TriggerInstance(Optional<ContextAwarePredicate> p_300542_, Optional<ContextAwarePredicate> p_298691_, Optional<ContextAwarePredicate> p_301026_)
-
-
Method Details
-
curedZombieVillager
-
matches
-
serializeToJson
public com.google.gson.JsonObject serializeToJson()- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-