From d5253dc5c3ae7b2cc1fcb96780e43b929a449eb4 Mon Sep 17 00:00:00 2001 From: nea Date: Wed, 1 Nov 2023 14:02:59 +0100 Subject: Initial commit --- .../moe/nea/modernjava/launch/WellKnownBlackboard.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/main/java/moe/nea/modernjava/launch/WellKnownBlackboard.java (limited to 'src/main/java/moe/nea/modernjava/launch/WellKnownBlackboard.java') 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 tweakerNames() { + return (List) Launch.blackboard.get("TweakClasses"); + } + + public static Map launchArgs() { + return (Map) Launch.blackboard.get("launchArgs"); + } +} -- cgit