LocationOwnershipEntry
Marker class registered with Bukkit's ServicesManager under Predicate<Location>. Carries the namespace, ownership / kind resolvers, and an optional protection check for one plugin's location-ownership claim.
Cross-plugin dispatch trick: this class is shaded into each consumer plugin separately, so registrations from EliteMobs's copy and FMM's copy have different Class<?> identities. LocationOwnership's lookup identifies "our" entries by simple class name (preserved through shade relocation) and invokes them via reflection on the JDK-stable method signatures getNamespace, test, kindsAt and isProtectedAt.
Constructors
Link copied to clipboard
public void LocationOwnershipEntry(String namespace, Predicate<Location> ownsFn, Function<Location, Set<String>> kindsFn, Predicate<Location> protectionFn)