Package me.gamercoder215.mobchip.ai.goal
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 me.gamercoder215.mobchip.ai.goal.Pathfinder
Pathfinder.PathfinderFlag
-
Field Summary
Fields inherited from class me.gamercoder215.mobchip.ai.goal.Pathfinder
entity
Fields inherited from interface me.gamercoder215.mobchip.ai.goal.Ranged
DEFAULT_ATTACK_INTERVAL, DEFAULT_ATTACK_RANGE, DEFAULT_LOOK_RANGE
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a PathfinderBeg with the default look range.PathfinderBeg
(@NotNull Wolf w, float lookRange) Constructs a PathfinderBeg. -
Method Summary
Modifier and TypeMethodDescriptionGet the entity involved in this Pathfinder.getFlags()
Fetches an Array of Flags that this Pathfinder has.Returns the NMS Internal Name.float
getRange()
Get the look range of this PathfinderBeg.void
setRange
(float range) Sets the look range of this PathfinderBeg.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.gamercoder215.mobchip.ai.goal.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:Pathfinder
Get the entity involved in this Pathfinder.- Overrides:
getEntity
in classPathfinder
- Returns:
- Creature involved
-
getRange
public float getRange()Get the look range of this PathfinderBeg. -
setRange
public void setRange(float range) Sets the look range of this PathfinderBeg. -
getFlags
Description copied from class:Pathfinder
Fetches an Array of Flags that this Pathfinder has.
- Specified by:
getFlags
in classPathfinder
- Returns:
- Array of Pathfinder Flags
-
getInternalName
Description copied from interface:PathfinderInfo
Returns the NMS Internal Name.- Specified by:
getInternalName
in interfacePathfinderInfo
- Returns:
- Internal Name
-