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:
FabricLoader.getEntrypointContainers(String, Class)
  • Method Summary

    Modifier and Type Method Description
    T getEntrypoint()
    Returns the entrypoint instance.
    ModContainer getProvider()
    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.