Package cz.jeme.bestium.api
Interface Bestium
@NullMarked
@NonExtendable
public interface Bestium
The core system for managing custom Minecraft entities.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classHolds all the internal singleton instances. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic EntityInjectorinjector()Returns the main entity injector instance, which handles the registration and management of custom entities within Bestium.static org.bukkit.plugin.java.JavaPluginplugin()Returns the Bestium plugin instance.static PluginSupportReturns the plugin support instance, providing access to functions for checking the status of external optional dependencies.
-
Method Details
-
plugin
static org.bukkit.plugin.java.JavaPlugin plugin()Returns the Bestium plugin instance.- Returns:
- the
JavaPlugininstance - Throws:
IllegalStateException- if called before the plugin is loaded
-
injector
Returns the main entity injector instance, which handles the registration and management of custom entities within Bestium.- Returns:
- the injector instance
- Throws:
IllegalStateException- if called before the Bestium bootstrap happens- See Also:
-
pluginSupport
Returns the plugin support instance, providing access to functions for checking the status of external optional dependencies.- Returns:
- the plugin support instance
- Throws:
IllegalStateException- if called before Bestium plugin is loaded- See Also:
-