Class PathfinderOwnerHurtTarget
java.lang.Object
me.gamercoder215.mobchip.ai.goal.Pathfinder
me.gamercoder215.mobchip.ai.goal.target.TargetPathfinder
me.gamercoder215.mobchip.ai.goal.target.PathfinderOwnerHurtTarget
- All Implemented Interfaces:
PathfinderInfo, Targeting
Represents a Pathfinder where a Tamable Animal attacks the owner's target.
-
Nested Class Summary
Nested classes/interfaces inherited from class Pathfinder
Pathfinder.PathfinderFlag -
Field Summary
Fields inherited from class Pathfinder
entity -
Constructor Summary
ConstructorsConstructorDescriptionPathfinderOwnerHurtTarget(@NotNull Tameable t) Constructs a PathfinderOwnerHurtTarget. -
Method Summary
Modifier and TypeMethodDescription@NotNull Pathfinder.PathfinderFlag[]getFlags()Fetches an Array of Flags that this Pathfinder has.Returns the pathfinder's internal name.Methods inherited from class TargetPathfinder
mustReach, mustSee, setReach, setSeeMethods inherited from class Pathfinder
getEntityMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PathfinderInfo
getName
-
Constructor Details
-
PathfinderOwnerHurtTarget
Constructs a PathfinderOwnerHurtTarget.- Parameters:
t- Tamable Entity to use
-
-
Method Details
-
getFlags
Description copied from class:PathfinderFetches an Array of Flags that this Pathfinder has.
- Specified by:
getFlagsin classPathfinder- Returns:
- Array of Pathfinder Flags
-
getInternalName
Description copied from interface:PathfinderInfoReturns the pathfinder's internal name. This may match the actual NMS name of the pathfinder, but it may not.- Returns:
- Internal Name
-