MigrationFlock

public final class MigrationFlock implements MigrationRoute

One migrating flock: wild pets of a species crossing the sky along a straight path that passes over a player halfway through its flight. Each member is an ordinary wild pet, full model and animations, flying this route at the top of its Mind program: a slot in a loose formation around an anchor that moves along the path, nudged apart from its neighbours and bobbing gently. A player who reaches one can tame it, which takes it out of the flock. When the crossing ends, the members still flying go.

Functions

Link copied to clipboard
public double cruise()
Blocks per tick the pet may fly to keep its place on the route.
Link copied to clipboard
public boolean isDone()
Link copied to clipboard
public void remove()
Ends the crossing: members still flying it go; tamed ones already left.
Link copied to clipboard
public Location target(PetControl pet)
Where the pet should be heading this tick, or null once the route is over.