public class FlyingPersistentGoal
extends net.minecraft.entity.ai.goal.Goal
Modifier and Type | Field and Description |
---|---|
protected PixelmonEntity |
pixelmon |
Constructor and Description |
---|
FlyingPersistentGoal(PixelmonEntity entity)
Initializes the flying AI.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canContinueToUse() |
boolean |
canUse() |
void |
pickDirection(boolean useLastChangeDirection) |
void |
pickHeight() |
void |
pickSpeed() |
void |
tick() |
protected PixelmonEntity pixelmon
public FlyingPersistentGoal(PixelmonEntity entity)
entity
- The Pokémon to initialize flying AI for.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 tick()
tick
in class net.minecraft.entity.ai.goal.Goal
public void pickDirection(boolean useLastChangeDirection)
public void pickSpeed()
public void pickHeight()