Interface NpcTrackingRule<P>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface NpcTrackingRule<P>
  • Method Details

    • allPlayers

      @NotNull static <P> @NotNull NpcTrackingRule<P> allPlayers()
    • onlyUnspecifiedPlayers

      @NotNull static <P> @NotNull NpcTrackingRule<P> onlyUnspecifiedPlayers()
    • onlyExplicitlyIncludedPlayers

      @NotNull static <P> @NotNull NpcTrackingRule<P> onlyExplicitlyIncludedPlayers()
    • shouldTrack

      boolean shouldTrack(@NotNull @NotNull Npc<?,P,?,?> npc, @NotNull P player)