Class SummonedEntityTrigger.TriggerInstance
java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
net.minecraft.advancements.critereon.SummonedEntityTrigger.TriggerInstance
- All Implemented Interfaces:
CriterionTriggerInstance
- Enclosing class:
- SummonedEntityTrigger
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTriggerInstance(EntityPredicate.Composite p_68273_, EntityPredicate.Composite p_68274_)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
matches(LootContext p_68280_)
com.google.gson.JsonObject
serializeToJson(SerializationContext p_68278_)
summonedEntity(EntityPredicate.Builder p_68276_)
Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
entity
-
-
Constructor Details
-
TriggerInstance
-
-
Method Details
-
summonedEntity
public static SummonedEntityTrigger.TriggerInstance summonedEntity(EntityPredicate.Builder p_68276_) -
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-