registerClassSystem

Registers the given provider for BukkitClassSystem with normal priority.

Return

registered class system or null if it was not registered.

Parameters

provider

The provider used to get class system.

apiLevel

Minimal required API level for this class system implementation: - if required API level is higher than installed Mimic, provider will not be registered, - if required API level is lower - will be enabled compatibility mode. Specify MimicApiLevel.CURRENT to use API level of Mimic dependency used on compile time.

plugin

The plugin implementing this class system.


Registers the given provider for BukkitClassSystem.

Return

registered class system or null if it was not registered.

Parameters

provider

The provider used to get class system.

apiLevel

Minimal required API level for this class system implementation: - if required API level is higher than installed Mimic, provider will not be registered, - if required API level is lower - will be enabled compatibility mode. Specify MimicApiLevel.CURRENT to use API level of Mimic dependency used on compile time.

plugin

The plugin implementing this class system.

priority

Default priority. Service with higher priority will be used if user have not configured preferred service in config.