Interface PlatformBootloader


public interface PlatformBootloader
Version-specific entry point discovered by the bootstrap module at runtime. Implementations are registered via ServiceLoader.
  • Method Details

    • id

      String id()
      Unique id, e.g. spigot-v1.21.x or sponge-v12.0.0.
    • platformType

      PlatformType platformType()
    • minecraftVersionRange

      String minecraftVersionRange()
      Minecraft version range this bootloader supports, e.g. 1.21.x.
    • priority

      default int priority()
      Higher priority bootloaders are tried first (Paper before Spigot on shared hosts).
    • canBoot

      boolean canBoot(Object host)
      Parameters:
      host - opaque host handle (JavaPlugin, Sponge Container, Fabric mod container, etc.)
    • boot

      PlatformAdapter boot(Object host)
      Creates and returns the platform adapter for this host.