public class TeleportAwayGoal
extends net.minecraft.entity.ai.goal.Goal
Constructor and Description |
---|
TeleportAwayGoal(PixelmonEntity entity) |
Modifier and Type | Method and Description |
---|---|
boolean |
canContinueToUse() |
boolean |
canUse() |
void |
start() |
static boolean |
teleportRandomly(PixelmonEntity pixelmon,
java.util.Random rand) |
protected static boolean |
teleportTo(PixelmonEntity pixelmon,
java.util.Random rand,
double suggestedXPos,
double suggestedYPos,
double suggestedZPos) |
public TeleportAwayGoal(PixelmonEntity entity)
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 static boolean teleportRandomly(PixelmonEntity pixelmon, java.util.Random rand)
protected static boolean teleportTo(PixelmonEntity pixelmon, java.util.Random rand, double suggestedXPos, double suggestedYPos, double suggestedZPos)