Class PathfinderRandomStrollInVillage
java.lang.Object
me.gamercoder215.mobchip.ai.goal.Pathfinder
me.gamercoder215.mobchip.ai.goal.PathfinderRandomStroll
me.gamercoder215.mobchip.ai.goal.PathfinderRandomStrollInVillage
- All Implemented Interfaces:
PathfinderInfo, Repeated, SpeedModifier
Represents a Pathfinder for a Creature to randomly stroll throughout 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
ConstructorsConstructorDescriptionPathfinderRandomStrollInVillage(@NotNull Creature c) Constructs a PathfinderRandomStrollVillage with no speed modifier.PathfinderRandomStrollInVillage(@NotNull Creature c, double speedMod) Constructs a PathfinderRandomStrollVillage. -
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
-
PathfinderRandomStrollInVillage
Constructs a PathfinderRandomStrollVillage with no speed modifier.- Parameters:
c- Creature to use- See Also:
-
PathfinderRandomStrollInVillage
Constructs a PathfinderRandomStrollVillage.- Parameters:
c- Creature to usespeedMod- Speed Modifier to use- See Also:
-
-
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
-