Class PathfinderZombieAttack
java.lang.Object
me.gamercoder215.mobchip.ai.goal.Pathfinder
me.gamercoder215.mobchip.ai.goal.PathfinderMeleeAttack
me.gamercoder215.mobchip.ai.goal.PathfinderZombieAttack
- All Implemented Interfaces:
PathfinderInfo, Targeting, SpeedModifier
Represents a Pathfinder for a special Zombie Melee Attack
-
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
ConstructorsConstructorDescriptionPathfinderZombieAttack(@NotNull Zombie m) Constructs a PathfinderZombieAttack with no speed modifier.PathfinderZombieAttack(@NotNull Zombie m, double speedMod) Constructs a PathfinderZombieAttack with see set to true.PathfinderZombieAttack(@NotNull Zombie m, double speedMod, boolean see) Constructs a PathfinderZombieAttack. -
Method Summary
Modifier and TypeMethodDescriptionReturns the pathfinder's internal name.Methods inherited from class PathfinderMeleeAttack
getFlags, getSpeedModifier, mustSee, setSee, 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
-
PathfinderZombieAttack
Constructs a PathfinderZombieAttack with no speed modifier.- Parameters:
m- Zombie to use
-
PathfinderZombieAttack
Constructs a PathfinderZombieAttack with see set to true.- Parameters:
m- Zombie to usespeedMod- Speed Modifier while attacking
-
PathfinderZombieAttack
Constructs a PathfinderZombieAttack.- Parameters:
m- Zombie to usespeedMod- Speed Modifier while attackingsee- Whether the Zombie has to see to attack
-
-
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 classPathfinderMeleeAttack- Returns:
- Internal Name
-