Class ShotCrossbowTrigger
java.lang.Object
net.minecraft.advancements.triggers.SimpleCriterionTrigger<ShotCrossbowTrigger.TriggerInstance>
net.minecraft.advancements.triggers.ShotCrossbowTrigger
- All Implemented Interfaces:
CriterionTrigger<ShotCrossbowTrigger.TriggerInstance>
public class ShotCrossbowTrigger
extends SimpleCriterionTrigger<ShotCrossbowTrigger.TriggerInstance>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class SimpleCriterionTrigger
SimpleCriterionTrigger.SimpleInstance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<ShotCrossbowTrigger.TriggerInstance> codec()voidtrigger(ServerPlayer player, ItemStack itemStack) Methods inherited from class SimpleCriterionTrigger
triggerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CriterionTrigger
createCriterion
-
Constructor Details
-
ShotCrossbowTrigger
public ShotCrossbowTrigger()
-
-
Method Details
-
codec
-
trigger
-