Class RecipeCraftedTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<RecipeCraftedTrigger.TriggerInstance>
net.minecraft.advancements.critereon.RecipeCraftedTrigger
- All Implemented Interfaces:
CriterionTrigger<RecipeCraftedTrigger.TriggerInstance>
public class RecipeCraftedTrigger
extends SimpleCriterionTrigger<RecipeCraftedTrigger.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 TypeMethodDescriptionprotected RecipeCraftedTrigger.TriggerInstance
createInstance
(com.google.gson.JsonObject p_286541_, ContextAwarePredicate p_286267_, DeserializationContext p_286402_) getId()
void
trigger
(ServerPlayer p_281468_, ResourceLocation p_282903_, List<ItemStack> p_282070_) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
RecipeCraftedTrigger
public RecipeCraftedTrigger()
-
-
Method Details
-
getId
-
createInstance
protected RecipeCraftedTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_286541_, ContextAwarePredicate p_286267_, DeserializationContext p_286402_) - Specified by:
createInstance
in classSimpleCriterionTrigger<RecipeCraftedTrigger.TriggerInstance>
-
trigger
-