isFlying

public static boolean isFlying(EnderDragon.Phase phase, boolean strict)

Returns whether the dragon's phase has it flying. Strict considers edge behaviors as true (charging, landing and taking off)

Return

Returns whether the dragon is flying

Parameters

phase

Phase to evaluate

strict

If true, includes all flying phases, including things such as charging players and returning to the portal