Class FishingRodHookedTrigger
- java.lang.Object
-
- net.minecraft.advancements.criterion.AbstractCriterionTrigger<FishingRodHookedTrigger.Instance>
-
- net.minecraft.advancements.criterion.FishingRodHookedTrigger
-
- All Implemented Interfaces:
ICriterionTrigger<FishingRodHookedTrigger.Instance>
public class FishingRodHookedTrigger extends AbstractCriterionTrigger<FishingRodHookedTrigger.Instance>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FishingRodHookedTrigger.Instance
-
Nested classes/interfaces inherited from interface net.minecraft.advancements.ICriterionTrigger
ICriterionTrigger.Listener<T extends ICriterionInstance>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
ID
-
Constructor Summary
Constructors Constructor Description FishingRodHookedTrigger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FishingRodHookedTrigger.Instance
createInstance(com.google.gson.JsonObject p_230241_1_, EntityPredicate.AndPredicate p_230241_2_, ConditionArrayParser p_230241_3_)
ResourceLocation
getId()
void
trigger(ServerPlayerEntity p_204820_1_, ItemStack p_204820_2_, FishingBobberEntity p_204820_3_, java.util.Collection<ItemStack> p_204820_4_)
-
Methods inherited from class net.minecraft.advancements.criterion.AbstractCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
-
-
-
Field Detail
-
ID
private static final ResourceLocation ID
-
-
Method Detail
-
getId
public ResourceLocation getId()
-
createInstance
public FishingRodHookedTrigger.Instance createInstance(com.google.gson.JsonObject p_230241_1_, EntityPredicate.AndPredicate p_230241_2_, ConditionArrayParser p_230241_3_)
- Specified by:
createInstance
in classAbstractCriterionTrigger<FishingRodHookedTrigger.Instance>
-
trigger
public void trigger(ServerPlayerEntity p_204820_1_, ItemStack p_204820_2_, FishingBobberEntity p_204820_3_, java.util.Collection<ItemStack> p_204820_4_)
-
-