Package me.gamercoder215.mobchip.ai.goal
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 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.SpeedModifier
DEFAULT_SPEED_MODIFIER
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs 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
Methods inherited from class me.gamercoder215.mobchip.ai.goal.PathfinderMeleeAttack
getFlags, getSpeedModifier, mustSee, setSee, setSpeedModifier
Methods inherited from class me.gamercoder215.mobchip.ai.goal.Pathfinder
getEntity
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
-
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:PathfinderInfo
Returns the NMS Internal Name.- Specified by:
getInternalName
in interfacePathfinderInfo
- Overrides:
getInternalName
in classPathfinderMeleeAttack
- Returns:
- Internal Name
-