Class StarterTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<StarterTrigger.Instance>
com.pixelmonmod.pixelmon.api.advancements.triggers.StarterTrigger
- All Implemented Interfaces:
net.minecraft.advancements.CriterionTrigger<StarterTrigger.Instance>
public class StarterTrigger
extends net.minecraft.advancements.critereon.SimpleCriterionTrigger<StarterTrigger.Instance>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
net.minecraft.advancements.critereon.SimpleCriterionTrigger.SimpleInstance
Nested classes/interfaces inherited from interface net.minecraft.advancements.CriterionTrigger
net.minecraft.advancements.CriterionTrigger.Listener<T extends net.minecraft.advancements.CriterionTriggerInstance>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance
(com.google.gson.JsonObject json, Optional<net.minecraft.advancements.critereon.ContextAwarePredicate> contextAwarePredicate, net.minecraft.advancements.critereon.DeserializationContext conditions) void
trigger
(net.minecraft.server.level.ServerPlayer player) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.advancements.CriterionTrigger
createCriterion
-
Constructor Details
-
StarterTrigger
public StarterTrigger()
-
-
Method Details
-
createInstance
public StarterTrigger.Instance createInstance(com.google.gson.JsonObject json, Optional<net.minecraft.advancements.critereon.ContextAwarePredicate> contextAwarePredicate, net.minecraft.advancements.critereon.DeserializationContext conditions) - Specified by:
createInstance
in classnet.minecraft.advancements.critereon.SimpleCriterionTrigger<StarterTrigger.Instance>
-
trigger
public void trigger(net.minecraft.server.level.ServerPlayer player)
-