Class ShotCrossbowTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<ShotCrossbowTrigger.TriggerInstance>
net.minecraft.advancements.critereon.ShotCrossbowTrigger
- All Implemented Interfaces:
CriterionTrigger<ShotCrossbowTrigger.TriggerInstance>
public class ShotCrossbowTrigger
extends SimpleCriterionTrigger<ShotCrossbowTrigger.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_286679_, ContextAwarePredicate p_286410_, DeserializationContext p_286233_) getId()
void
trigger
(ServerPlayer p_65463_, ItemStack p_65464_) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
ShotCrossbowTrigger
public ShotCrossbowTrigger()
-
-
Method Details
-
getId
-
createInstance
public ShotCrossbowTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_286679_, ContextAwarePredicate p_286410_, DeserializationContext p_286233_) - Specified by:
createInstance
in classSimpleCriterionTrigger<ShotCrossbowTrigger.TriggerInstance>
-
trigger
-