public class GoToOwnerGoal extends Pathfinder implements PathfindingGoal
Pathfinder.GoalType
Constructor and Description |
---|
GoToOwnerGoal(AbstractEntity entity,
String line,
MythicLineConfig mlc) |
Modifier and Type | Method and Description |
---|---|
void |
end()
Ends this
Pathfinder . |
boolean |
shouldEnd()
Whether or not this
Pathfinder should end. |
boolean |
shouldStart()
Whether or not this
Pathfinder should start. |
void |
start()
Starts this
Pathfinder . |
void |
tick()
Called every tick when this
Pathfinder is running. |
ai, getPlugin, isValid
public GoToOwnerGoal(AbstractEntity entity, String line, MythicLineConfig mlc)
public boolean shouldStart()
Pathfinder
Pathfinder
should start.shouldStart
in class Pathfinder
public void start()
Pathfinder
Pathfinder
.start
in class Pathfinder
public void tick()
Pathfinder
Pathfinder
is running.tick
in class Pathfinder
public boolean shouldEnd()
Pathfinder
Pathfinder
should end.shouldEnd
in class Pathfinder
public void end()
Pathfinder
Pathfinder
.end
in class Pathfinder
Copyright © 2020. All rights reserved.