public class FilledBucketTrigger extends AbstractCriterionTrigger<FilledBucketTrigger.Instance>
Modifier and Type | Class and Description |
---|---|
static class |
FilledBucketTrigger.Instance |
ICriterionTrigger.Listener<T extends ICriterionInstance>
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
ID |
Constructor and Description |
---|
FilledBucketTrigger() |
Modifier and Type | Method and Description |
---|---|
FilledBucketTrigger.Instance |
deserializeInstance(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context) |
ResourceLocation |
getId() |
void |
trigger(ServerPlayerEntity p_204817_1_,
ItemStack p_204817_2_) |
addListener, func_227070_a_, func_227071_b_, removeAllListeners, removeListener
private static final ResourceLocation ID
public ResourceLocation getId()
public FilledBucketTrigger.Instance deserializeInstance(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
public void trigger(ServerPlayerEntity p_204817_1_, ItemStack p_204817_2_)