Add data generators for sounds.json (#6982)

This commit is contained in:
Silk authored and GitHub committed 2021-07-16 17:24:16 -07:00
1 parent 39f9f393db
commit a6d1646591
12 files changed
+1127 -6

No files matched your search

@@ -62,11 +62,14 @@ public class LaunchTesting
lst.putLazy("fml.forgeGroup", System.getenv("FORGE_GROUP"));
lst.putLazy("fml.forgeVersion", System.getenv("FORGE_VERSION"));
if (target.contains("client") || target.contains("data")) {
lst.putLazy("assetIndex", System.getenv("assetIndex"));
lst.putLazy("assetsDir", System.getenv().getOrDefault("assetDirectory", "assets"));
}
if (target.contains("client")) {
hackNatives();
lst.putLazy("version", "MOD_DEV");
lst.putLazy("assetIndex", System.getenv("assetIndex"));
lst.putLazy("assetsDir", System.getenv().getOrDefault("assetDirectory", "assets"));
String assets = lst.get("assetsDir");
if (assets == null || !new File(assets).exists()) {