Class PathfinderRandomStrollFlying
java.lang.Object
me.gamercoder215.mobchip.ai.goal.Pathfinder
me.gamercoder215.mobchip.ai.goal.PathfinderRandomStroll
me.gamercoder215.mobchip.ai.goal.PathfinderRandomStrollFlying
- All Implemented Interfaces:
PathfinderInfo, Repeated, SpeedModifier
Represents a Pathfinder for a Creature to randomly fly
-
Nested Class Summary
Nested classes/interfaces inherited from class Pathfinder
Pathfinder.PathfinderFlag -
Field Summary
Fields inherited from class Pathfinder
entityFields inherited from interface SpeedModifier
DEFAULT_SPEED_MODIFIER -
Constructor Summary
ConstructorsConstructorDescriptionPathfinderRandomStrollFlying(@NotNull Creature c) Constructs a PathfinderRandomStrollFlying with no speed modifier.PathfinderRandomStrollFlying(@NotNull Creature c, double speedMod) Constructs a PathfinderRandomStrollFlying. -
Method Summary
Modifier and TypeMethodDescriptionReturns the pathfinder's internal name.Methods inherited from class PathfinderRandomStroll
getFlags, getInterval, getSpeedModifier, setInterval, setSpeedModifierMethods 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
-
PathfinderRandomStrollFlying
Constructs a PathfinderRandomStrollFlying with no speed modifier.- Parameters:
c- Creature to use
-
PathfinderRandomStrollFlying
Constructs a PathfinderRandomStrollFlying.- Parameters:
c- Creature to usespeedMod- Speed Modifier while flying
-
-
Method Details
-
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- Overrides:
getInternalNamein classPathfinderRandomStroll- Returns:
- Internal Name
-