Interface EntrypointContainer<T>

Type Parameters:
T - The type of the entrypoint

public interface EntrypointContainer<T>
A container holding both an entrypoint instance and the ModContainer which has provided the entrypoint.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Returns a string representation of the entrypoint's definition.
    Returns the entrypoint instance.
    Returns the mod that provided this entrypoint.
  • Method Details

    • getEntrypoint

      T getEntrypoint()
      Returns the entrypoint instance. It will be constructed the first time you call this method.
    • getProvider

      ModContainer getProvider()
      Returns the mod that provided this entrypoint.
    • getDefinition

      default String getDefinition()
      Returns a string representation of the entrypoint's definition.