public interface BypassCheckerProvider
BypassChecker
s automatically via the ServiceLoader
mechanism.
To register a provider add the fully qualified name of the class implementing this class to the file
META-INF/services/com.elikill58.negativity.universal.bypass.BypassCheckerProvider
The advantage of using this class instead of calling BypassManager.addBypassChecker(BypassChecker)
yourself is that it is guaranteed that your BypassChecker will be registered at the right time,
and will be registered again if Negativity reloads without your plugin noticing.
Plugins providing BypassCheckers MUST declare a dependency (hard or soft) on Negativity.
Modifier and Type | Method and Description |
---|---|
Collection<BypassChecker> |
create(Adapter adapter) |
Collection<BypassChecker> create(Adapter adapter)