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 interface net.minecraft.advancements.CriterionTrigger
CriterionTrigger.Listener<T extends CriterionTriggerInstance>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(com.google.gson.JsonObject p_38779_, EntityPredicate.Composite p_38780_, DeserializationContext p_38781_)
getId()
void
trigger(ServerPlayer p_38773_, ItemStack p_38774_)
Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
FilledBucketTrigger
public FilledBucketTrigger()
-
-
Method Details
-
getId
-
createInstance
public FilledBucketTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_38779_, EntityPredicate.Composite p_38780_, DeserializationContext p_38781_)- Specified by:
createInstance
in classSimpleCriterionTrigger<FilledBucketTrigger.TriggerInstance>
-
trigger
-