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.-
Method Summary
Modifier and TypeMethodDescriptiondefault 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
Returns a string representation of the entrypoint's definition.
-