Class FilledBucketTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<FilledBucketTrigger.TriggerInstance>
net.minecraft.advancements.critereon.FilledBucketTrigger
- All Implemented Interfaces:
CriterionTrigger<FilledBucketTrigger.TriggerInstance>
public class FilledBucketTrigger
extends SimpleCriterionTrigger<FilledBucketTrigger.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_286783_, Optional<ContextAwarePredicate> p_298781_, DeserializationContext p_286812_) void
trigger
(ServerPlayer p_38773_, ItemStack p_38774_) 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
-
FilledBucketTrigger
public FilledBucketTrigger()
-
-
Method Details
-
createInstance
public FilledBucketTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_286783_, Optional<ContextAwarePredicate> p_298781_, DeserializationContext p_286812_) - Specified by:
createInstance
in classSimpleCriterionTrigger<FilledBucketTrigger.TriggerInstance>
-
trigger
-