-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a launch handler for the new 1.21.5 gametest
Main
entrypoint (#250
- Loading branch information
1 parent
0b44bf9
commit 05f882f
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
...c/main/java/net/neoforged/fml/loading/targets/NeoForgeGameTestServerDevLaunchHandler.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,25 @@ | ||
/* | ||
* Copyright (c) Forge Development LLC and contributors | ||
* SPDX-License-Identifier: LGPL-2.1-only | ||
*/ | ||
|
||
package net.neoforged.fml.loading.targets; | ||
|
||
import net.neoforged.api.distmarker.Dist; | ||
|
||
public class NeoForgeGameTestServerDevLaunchHandler extends NeoForgeDevLaunchHandler { | ||
@Override | ||
public String name() { | ||
return "neoforgegametestserverdev"; | ||
} | ||
|
||
@Override | ||
public Dist getDist() { | ||
return Dist.DEDICATED_SERVER; | ||
} | ||
|
||
@Override | ||
public void runService(String[] arguments, ModuleLayer layer) throws Throwable { | ||
runTarget("net.minecraft.gametest.Main", arguments, layer); | ||
} | ||
} |
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