Interface Bestium


@NullMarked @NonExtendable public interface Bestium
The core system for managing custom Minecraft entities.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    Holds all the internal singleton instances.
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    Returns the main entity injector instance, which handles the registration and management of custom entities within Bestium.
    static org.bukkit.plugin.java.JavaPlugin
    Returns the Bestium plugin instance.
    Returns 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 JavaPlugin instance
      Throws:
      IllegalStateException - if called before the plugin is loaded
    • injector

      static EntityInjector 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

      static PluginSupport 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: