Interface Component


public interface Component
Component
Since:
1.0.0.2
Author:
creatorfromhell
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the array of dependencies required by this component.
    Returns the identifier associated with this Component.
    initBuilders(Platform platform, String version)
    Initializes the builders for the given platform and version.
    void
    initialize(Platform platform, String version)
    Initializes the Component with the provided platform and version.
    void
    initRegistries(Platform platform, String version)
    Initializes the registries for the given platform and version.
    Retrieves an array of library names that this Component requires.
    boolean
    supports(Platform platform, String version)
    Checks if this method supports the given platform and version.
  • Method Details

    • identifier

      Returns the identifier associated with this Component.
      Returns:
      the identifier string
    • supports

      boolean supports(Platform platform, String version)
      Checks if this method supports the given platform and version.
      Parameters:
      platform - the Platform to check for support
      version - the version string to check for support
      Returns:
      true if the platform and version are supported, false otherwise
    • dependencies

      Retrieves the array of dependencies required by this component.
      Returns:
      an array of strings representing the dependencies needed for this component
    • libraries

      Retrieves an array of library names that this Component requires.
      Returns:
      an array of strings representing the required libraries
    • initialize

      void initialize(Platform platform, String version)
      Initializes the Component with the provided platform and version.
      Parameters:
      platform - the platform to initialize the Component for
      version - the Minecraft version string to initialize the Component with
    • initRegistries

      void initRegistries(Platform platform, String version)
      Initializes the registries for the given platform and version.
      Parameters:
      platform - the platform for which the registries are being initialized
      version - the Minecraft version of the platform
    • initBuilders

      Initializes the builders for the given platform and version.
      Parameters:
      platform - the platform to initialize the builders for
      version - the Minecraft version string to initialize the builders with
      See Also: