EntityAimAssist

public final class EntityAimAssist

Cone acquisition shared by magic weapons and assisted support abilities.

Properties

Link copied to clipboard
public final static double DEFAULT_CONE_DEGREES

Functions

Link copied to clipboard
public static Location center(LivingEntity entity)
Link copied to clipboard
public static List<T> select<T extends LivingEntity>(Player owner, Collection<T> nearby, double range, double assistDegrees, Predicate<T> eligible, ToIntFunction<T> priority, int limit)
Priorities sort first, then angular accuracy with a small distance preference.
Link copied to clipboard
public static boolean unobstructed(Location source, Location destination)