Class PathfinderBeg
java.lang.Object
me.gamercoder215.mobchip.ai.goal.Pathfinder
me.gamercoder215.mobchip.ai.goal.PathfinderBeg
- All Implemented Interfaces:
PathfinderInfo, Ranged
Represents a Pathfinder for Wolf Begging
-
Nested Class Summary
Nested classes/interfaces inherited from class Pathfinder
Pathfinder.PathfinderFlag -
Field Summary
Fields inherited from class Pathfinder
entityFields inherited from interface Ranged
DEFAULT_ATTACK_INTERVAL, DEFAULT_ATTACK_RANGE, DEFAULT_LOOK_RANGE -
Constructor Summary
ConstructorsConstructorDescriptionPathfinderBeg(@NotNull Wolf w) Constructs a PathfinderBeg with the default look range.PathfinderBeg(@NotNull Wolf w, float lookRange) Constructs a PathfinderBeg. -
Method Summary
Modifier and TypeMethodDescription@NotNull WolfGet the entity involved in this Pathfinder.@NotNull Pathfinder.PathfinderFlag[]getFlags()Fetches an Array of Flags that this Pathfinder has.Returns the pathfinder's internal name.floatgetRange()Get the look range of this PathfinderBeg.voidsetRange(float range) Sets the look range of this PathfinderBeg.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PathfinderInfo
getName
-
Constructor Details
-
PathfinderBeg
Constructs a PathfinderBeg with the default look range.- Parameters:
w- Wolf to use
-
PathfinderBeg
Constructs a PathfinderBeg.- Parameters:
w- Wolf to uselookRange- looking range of the wolf
-
-
Method Details
-
getEntity
Description copied from class:PathfinderGet the entity involved in this Pathfinder.- Overrides:
getEntityin classPathfinder- Returns:
- Creature involved
-
getRange
-
setRange
-
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.- Specified by:
getInternalNamein interfacePathfinderInfo- Returns:
- Internal Name
-