Class RecipeUnlockedTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<RecipeUnlockedTrigger.TriggerInstance>
net.minecraft.advancements.critereon.RecipeUnlockedTrigger
- All Implemented Interfaces:
CriterionTrigger<RecipeUnlockedTrigger.TriggerInstance>
public class RecipeUnlockedTrigger
extends SimpleCriterionTrigger<RecipeUnlockedTrigger.TriggerInstance>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
SimpleCriterionTrigger.SimpleInstance
Nested classes/interfaces inherited from interface net.minecraft.advancements.CriterionTrigger
CriterionTrigger.Listener<T extends CriterionTriggerInstance>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance
(com.google.gson.JsonObject p_286387_, Optional<ContextAwarePredicate> p_298778_, DeserializationContext p_286649_) void
trigger
(ServerPlayer p_63719_, RecipeHolder<?> p_301160_) unlocked
(ResourceLocation p_63729_) 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
-
RecipeUnlockedTrigger
public RecipeUnlockedTrigger()
-
-
Method Details
-
createInstance
public RecipeUnlockedTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_286387_, Optional<ContextAwarePredicate> p_298778_, DeserializationContext p_286649_) - Specified by:
createInstance
in classSimpleCriterionTrigger<RecipeUnlockedTrigger.TriggerInstance>
-
trigger
-
unlocked
-