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