Quilt Loader 1
Loading...
Searching...
No Matches
org.quiltmc.loader.api.entrypoint.EntrypointContainer< T > Interface Template Reference

A container holding both an entrypoint instance and the ModContainer which has provided the entrypoint. More...

Inheritance diagram for org.quiltmc.loader.api.entrypoint.EntrypointContainer< T >:
org.quiltmc.loader.impl.entrypoint.EntrypointContainerImpl< T >

Public Member Functions

getEntrypoint ()
 Returns the entrypoint instance.
ModContainer getProvider ()
 Returns the mod that provided this entrypoint.
default String getDefinition ()
 Returns a string representation of the entrypoint's definition.

Detailed Description

A container holding both an entrypoint instance and the ModContainer which has provided the entrypoint.

Parameters
<T>The type of the entrypoint
See also
org.quiltmc.loader.api.QuiltLoader#getEntrypointContainers(String, Class)

Member Function Documentation

◆ getDefinition()

default String org.quiltmc.loader.api.entrypoint.EntrypointContainer< T >.getDefinition ( )
inline

Returns a string representation of the entrypoint's definition.

Implemented in org.quiltmc.loader.impl.entrypoint.EntrypointContainerImpl< T >.

◆ getEntrypoint()

Returns the entrypoint instance.

It will be constructed the first time you call this method.

Implemented in org.quiltmc.loader.impl.entrypoint.EntrypointContainerImpl< T >.

◆ getProvider()

Returns the mod that provided this entrypoint.

Implemented in org.quiltmc.loader.impl.entrypoint.EntrypointContainerImpl< T >.


The documentation for this interface was generated from the following file:
  • src/main/java/org/quiltmc/loader/api/entrypoint/EntrypointContainer.java