Class BetterFlyingGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
com.pixelmonmod.pixelmon.ai.flying.BetterFlyingGoal
public class BetterFlyingGoal
extends net.minecraft.world.entity.ai.goal.Goal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.Goal.Flag
-
Constructor Summary
ConstructorDescriptionBetterFlyingGoal
(PixelmonEntity pokemon) BetterFlyingGoal
(PixelmonEntity pokemon, FlySpeeds flyingParameters) -
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, canContinueToUse, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, stop, tick, toString
-
Constructor Details
-
BetterFlyingGoal
-
BetterFlyingGoal
-
-
Method Details
-
start
public void start()- Overrides:
start
in classnet.minecraft.world.entity.ai.goal.Goal
-
canUse
public boolean canUse()- Specified by:
canUse
in classnet.minecraft.world.entity.ai.goal.Goal
-
moveToTarget
public void moveToTarget() -
reachedTarget
public boolean reachedTarget() -
findAerialTarget
public boolean findAerialTarget() -
findLanding
public net.minecraft.core.BlockPos findLanding()
-