Class FishingRodHookedTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<FishingRodHookedTrigger.TriggerInstance>
net.minecraft.advancements.critereon.FishingRodHookedTrigger
- All Implemented Interfaces:
CriterionTrigger<FishingRodHookedTrigger.TriggerInstance>
public class FishingRodHookedTrigger
extends SimpleCriterionTrigger<FishingRodHookedTrigger.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_40427_, EntityPredicate.Composite p_40428_, DeserializationContext p_40429_)
getId()
void
trigger(ServerPlayer p_40417_, ItemStack p_40418_, FishingHook p_40419_, Collection<ItemStack> p_40420_)
Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
FishingRodHookedTrigger
public FishingRodHookedTrigger()
-
-
Method Details
-
getId
-
createInstance
public FishingRodHookedTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_40427_, EntityPredicate.Composite p_40428_, DeserializationContext p_40429_)- Specified by:
createInstance
in classSimpleCriterionTrigger<FishingRodHookedTrigger.TriggerInstance>
-
trigger
public void trigger(ServerPlayer p_40417_, ItemStack p_40418_, FishingHook p_40419_, Collection<ItemStack> p_40420_)
-