public class FollowTrainerGoal
extends net.minecraft.entity.ai.goal.Goal
Constructor and Description |
---|
FollowTrainerGoal(PixelmonEntity pixelmon,
double speedModifier,
float startDistance,
float stopDistance,
boolean canFly) |
Modifier and Type | Method and Description |
---|---|
boolean |
canContinueToUse() |
boolean |
canUse() |
void |
start() |
void |
stop() |
void |
tick() |
public FollowTrainerGoal(PixelmonEntity pixelmon, double speedModifier, float startDistance, float stopDistance, boolean canFly)
public boolean canUse()
canUse
in class net.minecraft.entity.ai.goal.Goal
public boolean canContinueToUse()
canContinueToUse
in class net.minecraft.entity.ai.goal.Goal
public void start()
start
in class net.minecraft.entity.ai.goal.Goal
public void stop()
stop
in class net.minecraft.entity.ai.goal.Goal
public void tick()
tick
in class net.minecraft.entity.ai.goal.Goal