Class BrewedPotionTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<BrewedPotionTrigger.TriggerInstance>
net.minecraft.advancements.critereon.BrewedPotionTrigger
- All Implemented Interfaces:
CriterionTrigger<BrewedPotionTrigger.TriggerInstance>
public class BrewedPotionTrigger
extends SimpleCriterionTrigger<BrewedPotionTrigger.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_286606_, ContextAwarePredicate p_286420_, DeserializationContext p_286605_) getId()
void
trigger
(ServerPlayer p_19121_, Potion p_19122_) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
BrewedPotionTrigger
public BrewedPotionTrigger()
-
-
Method Details
-
getId
-
createInstance
public BrewedPotionTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_286606_, ContextAwarePredicate p_286420_, DeserializationContext p_286605_) - Specified by:
createInstance
in classSimpleCriterionTrigger<BrewedPotionTrigger.TriggerInstance>
-
trigger
-