There are 2 (Server) or 3 (Server) plugin managers loaded by REI at once. Each of them are responsible for different reloadables, and holds a different plugins list.

Types of REI Plugins

REIPlugin

This is the base plugin manager which both client and server REI plugins are registered to.

REIClientPlugin

This is the plugin manager handling client-specific reloadables which client REI plugins are registered to.

REIServerPlugin

This is the plugin manager handling logical-server-specific reloadables which server REI plugins are registered to.

Accessing Plugin Manager Instances

Instances of Plugin Manager can be accessed via methods in PluginManager, registering plugins are handled internally via PluginView, plugin implementations should look at Constructing Plugins instead.

Checking if REI is reloading

PluginManager.areAnyReloading() can be used to check if there are any plugin managers currently reloading.

Individual plugin managers can be checked with PluginManager.getXXXInstance().isReloading().