Question: launch fabricmc from a class #85

Closed
opened 2021-02-13 02:03:06 +00:00 by DylanWake · 1 comment
DylanWake commented 2021-02-13 02:03:06 +00:00 (Migrated from github.com)

I've been working on a class that dynamically get accessToken from mojang authentication server to pass as arguments into the launcher. However, after some research I found the :runclient uses net.fabricmc.devlaunchinjector.Main as the main class to launch the game and pass arguments , but I'm unable to import it to modify in my class.
Is there are tutorial or method in launching fabricmc from a class?

I've been working on a class that dynamically get accessToken from mojang authentication server to pass as arguments into the launcher. However, after some research I found the `:runclient` uses `net.fabricmc.devlaunchinjector.Main` as the main class to launch the game and pass arguments , but I'm unable to import it to modify in my class. Is there are tutorial or method in launching fabricmc from a class?
DylanWake commented 2021-02-13 04:24:41 +00:00 (Migrated from github.com)

Issue solved, I just forcely copied the class to my project, configure it and run it,

Issue solved, I just forcely copied the class to my project, configure it and run it,
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Steven/fabric-example-mod#85