Class PathfinderRandomStrollToVillage
java.lang.Object
me.gamercoder215.mobchip.ai.goal.Pathfinder
me.gamercoder215.mobchip.ai.goal.PathfinderRandomStroll
me.gamercoder215.mobchip.ai.goal.PathfinderRandomStrollToVillage
- All Implemented Interfaces:
PathfinderInfo, Repeated, SpeedModifier
Represents a Pathfinder to Randomly Stroll back into a Village
-
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
ConstructorsConstructorDescriptionPathfinderRandomStrollToVillage(@NotNull Creature c) Constructs a PathfinderRandomStrollToVillage with no speed modifier.PathfinderRandomStrollToVillage(@NotNull Creature c, double speedMod) Constructs a PathfinderRandomStrollToVillage. -
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
-
PathfinderRandomStrollToVillage
Constructs a PathfinderRandomStrollToVillage with no speed modifier.- Parameters:
c- Creature to use- See Also:
-
PathfinderRandomStrollToVillage
Constructs a PathfinderRandomStrollToVillage.- Parameters:
c- Creature to usespeedMod- Speed Modifier while strollingPathfinderRandomStroll(Creature, double)
-
-
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
-