Klasse EarlyRiser
java.lang.Object
de.florianmichael.asmfabricloader.api.EarlyRiser
Utility to manually create entrypoints from mods before fabric loader is doing it.
This can be useful if you want to invoke entrypoints in language adapter loading stage.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic <T> voidinvokeEntrypoints(String name, Class<T> type, Consumer<T> consumer) Invokes a given consumer for all early entrypoints with a specific name and type.
-
Konstruktordetails
-
EarlyRiser
public EarlyRiser()
-
-
Methodendetails
-
invokeEntrypoints
Invokes a given consumer for all early entrypoints with a specific name and type.- Parameter:
name- the entrypoint nametype- the entrypoint typeconsumer- the consumer to invoke
-