diff options
author | nea <nea@nea.moe> | 2023-11-01 14:02:59 +0100 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-11-01 14:02:59 +0100 |
commit | d5253dc5c3ae7b2cc1fcb96780e43b929a449eb4 (patch) | |
tree | 478973510c9d7eda999b8321a07f34691ba56e8b /src/main/java/moe/nea/modernjava/launch/WellKnownBlackboard.java | |
download | ModernJavaLauncher-d5253dc5c3ae7b2cc1fcb96780e43b929a449eb4.tar.gz ModernJavaLauncher-d5253dc5c3ae7b2cc1fcb96780e43b929a449eb4.tar.bz2 ModernJavaLauncher-d5253dc5c3ae7b2cc1fcb96780e43b929a449eb4.zip |
Initial commit
Diffstat (limited to 'src/main/java/moe/nea/modernjava/launch/WellKnownBlackboard.java')
-rw-r--r-- | src/main/java/moe/nea/modernjava/launch/WellKnownBlackboard.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/java/moe/nea/modernjava/launch/WellKnownBlackboard.java b/src/main/java/moe/nea/modernjava/launch/WellKnownBlackboard.java new file mode 100644 index 0000000..ee60b2a --- /dev/null +++ b/src/main/java/moe/nea/modernjava/launch/WellKnownBlackboard.java @@ -0,0 +1,17 @@ +package moe.nea.modernjava.launch; + +import net.minecraft.launchwrapper.Launch; + +import java.util.List; +import java.util.Map; + +@SuppressWarnings("unchecked") +public class WellKnownBlackboard { + public static List<String> tweakerNames() { + return (List<String>) Launch.blackboard.get("TweakClasses"); + } + + public static Map<String, String> launchArgs() { + return (Map<String, String>) Launch.blackboard.get("launchArgs"); + } +} |