Class SummonedEntityTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<SummonedEntityTrigger.TriggerInstance>
net.minecraft.advancements.critereon.SummonedEntityTrigger
- All Implemented Interfaces:
CriterionTrigger<SummonedEntityTrigger.TriggerInstance>
public class SummonedEntityTrigger
extends SimpleCriterionTrigger<SummonedEntityTrigger.TriggerInstance>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancements.CriterionTrigger
CriterionTrigger.Listener<T extends CriterionTriggerInstance>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(com.google.gson.JsonObject p_68260_, EntityPredicate.Composite p_68261_, DeserializationContext p_68262_)
getId()
void
trigger(ServerPlayer p_68257_, Entity p_68258_)
Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
SummonedEntityTrigger
public SummonedEntityTrigger()
-
-
Method Details
-
getId
-
createInstance
public SummonedEntityTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_68260_, EntityPredicate.Composite p_68261_, DeserializationContext p_68262_)- Specified by:
createInstance
in classSimpleCriterionTrigger<SummonedEntityTrigger.TriggerInstance>
-
trigger
-