-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
30 additions
and
75 deletions.
There are no files selected for viewing
25 changes: 0 additions & 25 deletions
25
...r/src/main/java/net/neoforged/fml/loading/targets/NeoForgeClientDataDevLaunchHandler.java
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
...r/src/main/java/net/neoforged/fml/loading/targets/NeoForgeServerDataDevLaunchHandler.java
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
loader/src/main/java/net/neoforged/fml/loading/targets/NeoForgeServerDevLaunchHandler.java
This file was deleted.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
loader/src/main/java/net/neoforged/fml/startup/DataClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package net.neoforged.fml.startup; | ||
|
||
public class DataClient extends Entrypoint { | ||
private DataClient() {} | ||
|
||
public static void main(String[] args) { | ||
try (var startup = startup(args)) { | ||
var main = createMainMethodCallable(startup.classLoader(), "net.minecraft.client.data.Main"); | ||
main.invokeExact(startup.programArgs()); | ||
} catch (Throwable t) { | ||
FatalErrorReporting.reportFatalError(t); | ||
System.exit(1); | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
loader/src/main/java/net/neoforged/fml/startup/DataServer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package net.neoforged.fml.startup; | ||
|
||
public class DataServer extends Entrypoint { | ||
private DataServer() {} | ||
|
||
public static void main(String[] args) { | ||
try (var startup = startup(args)) { | ||
var main = createMainMethodCallable(startup.classLoader(), "net.minecraft.data.Main"); | ||
main.invokeExact(startup.programArgs()); | ||
} catch (Throwable t) { | ||
FatalErrorReporting.reportFatalError(t); | ||
System.exit(1); | ||
} | ||
} | ||
} |