aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/moe/nea/modernjava/launch/WellKnownBlackboard.java
blob: ee60b2a5088c4ec1e48ba11f2ed79ba0395d1fa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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");
    }
}