diff --git a/src/main/java/net/citizensnpcs/api/trait/trait/PlayerFilter.java b/src/main/java/net/citizensnpcs/api/trait/trait/PlayerFilter.java index 16ec7f1b..3b9c9e22 100644 --- a/src/main/java/net/citizensnpcs/api/trait/trait/PlayerFilter.java +++ b/src/main/java/net/citizensnpcs/api/trait/trait/PlayerFilter.java @@ -71,6 +71,34 @@ public void clear() { groupAllowlist = groupHidden = null; } + /** + * Implementation detail: may change in the future. + */ + public Set getAllowlist() { + return allowlist; + } + + /** + * Implementation detail: may change in the future. + */ + public Set getGroupAllowlist() { + return groupAllowlist; + } + + /** + * Implementation detail: may change in the future. + */ + public Set getGroupHidden() { + return groupHidden; + } + + /** + * Implementation detail: may change in the future. + */ + public Set getHidden() { + return hidden; + } + /** * Hides the NPC from the given Player UUID. * @@ -181,10 +209,17 @@ public void run() { recalculate(); } + /** + * Implementation detail: may change in the future. + */ public void setAllowlist(Set allowlist) { this.allowlist = allowlist == null ? null : Sets.newHashSet(allowlist); } + /** + * Implementation detail: may change in the future. + */ + public void setHiddenFrom(Set hidden) { this.hidden = hidden == null ? null : Sets.newHashSet(hidden); }