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 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_286606_, Optional<ContextAwarePredicate> p_299076_, DeserializationContext p_286605_) void
trigger
(ServerPlayer p_19121_, Potion p_19122_) 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
-
BrewedPotionTrigger
public BrewedPotionTrigger()
-
-
Method Details
-
createInstance
public BrewedPotionTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_286606_, Optional<ContextAwarePredicate> p_299076_, DeserializationContext p_286605_) - Specified by:
createInstance
in classSimpleCriterionTrigger<BrewedPotionTrigger.TriggerInstance>
-
trigger
-