Uses of Enum
net.citizensnpcs.api.ai.event.CancelReason
Packages that use CancelReason
-
Uses of CancelReason in net.citizensnpcs.api.ai
Methods in net.citizensnpcs.api.ai that return CancelReasonModifier and TypeMethodDescriptionAbstractPathStrategy.getCancelReason()
PathStrategy.getCancelReason()
Methods in net.citizensnpcs.api.ai with parameters of type CancelReasonModifier and TypeMethodDescriptionvoid
Navigator.cancelNavigation
(CancelReason reason) Cancels any running navigation towards a target with a specificCancelReason
.protected void
AbstractPathStrategy.setCancelReason
(CancelReason reason) -
Uses of CancelReason in net.citizensnpcs.api.ai.event
Methods in net.citizensnpcs.api.ai.event that return CancelReasonModifier and TypeMethodDescriptionNavigationCancelEvent.getCancelReason()
static CancelReason
Returns the enum constant of this type with the specified name.static CancelReason[]
CancelReason.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.citizensnpcs.api.ai.event with parameters of type CancelReasonConstructors in net.citizensnpcs.api.ai.event with parameters of type CancelReason -
Uses of CancelReason in net.citizensnpcs.npc.ai
Methods in net.citizensnpcs.npc.ai that return CancelReasonModifier and TypeMethodDescriptionMCNavigationStrategy.MCNavigator.getCancelReason()
MCTargetStrategy.getCancelReason()
AStarNavigationStrategy.AStarPlanner.tick
(int iterationsPerTick, int maxIterations) Methods in net.citizensnpcs.npc.ai with parameters of type CancelReason