Interface Core
- All Superinterfaces:
Loadable
- All Known Implementing Classes:
Base
The Core interface extends Loadable, meaning it can be loaded into the system
as a plugin entry point. Implementations of this interface typically serve as the foundation of
a plugin, offering methods to retrieve loaders for different types of plugin components.
Since plugins may not provide all types of components, these methods return null by default.
Plugin developers should override only the methods relevant to their plugin.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExecutablesPluginLoaderReturns the loader responsible for managing executable components in the plugin.default LabyrinthPanelsPluginLoaderReturns the loader responsible for managing labyrinth panel components in the plugin.default @NotNull StringgetName()Returns the name of the plugin.default WallStatesPluginLoaderReturns the loader responsible for managing wall states in the plugin.
-
Method Details
-
getWallStates
Returns the loader responsible for managing wall states in the plugin.If the plugin does not provide custom wall states, this method returns
null.- Returns:
- an instance of
WallStatesPluginLoaderornullif not implemented
-
getExecutables
Returns the loader responsible for managing executable components in the plugin.If the plugin does not provide executable components, this method returns
null.- Returns:
- an instance of
ExecutablesPluginLoaderornullif not implemented
-
getLabyrinthPanels
Returns the loader responsible for managing labyrinth panel components in the plugin.If the plugin does not provide labyrinth panels, this method returns
null.- Returns:
- an instance of
LabyrinthPanelsPluginLoaderornullif not implemented
-
getName
Returns the name of the plugin.The plugin name can be automatically extracted from the
ModIdannotation usingPluginsLoader.getPluginName(Core).- Returns:
- the plugin name as a
String
-