From 06af345b2ee339602c70bfaf2718ece559874b82 Mon Sep 17 00:00:00 2001 From: Juuz <6596629+Juuxel@users.noreply.github.com> Date: Tue, 17 Oct 2023 12:36:12 +0300 Subject: [PATCH] Add 1.20.1 templates --- generator.config.json | 201 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 201 insertions(+) diff --git a/generator.config.json b/generator.config.json index 7837edc..a422b6f 100644 --- a/generator.config.json +++ b/generator.config.json @@ -1265,6 +1265,207 @@ "MIXIN_COMPAT_LEVEL": "JAVA_17", "__LOOM_FORGE_EXT": "#LOOM_FORGE_EXT" } + }, + "1.20.1-forge": { + "description": "1.20.1 Forge Template", + "templates": [ + "templates/forge" + ], + "tokens": { + "MINECRAFT": "1.20.1", + "JAVA_VERSION": "#JAVA_17", + "COMPILE_JAVA": "#COMPILE_JAVA_17", + "MCMETA_FORMAT": "15", + "YARN_MAPPINGS": { + "filter": "1\\.20\\.1\\+build\\..*", + "pom": "https://maven.fabricmc.net/net/fabricmc/yarn/maven-metadata.xml" + }, + "FORGE": { + "filter": "1\\.20\\.1-.*", + "pom": "https://maven.minecraftforge.net/net/minecraftforge/forge/maven-metadata.xml" + }, + "FORGE_LOADER_MAJOR": "47", + "MIXIN_COMPAT_LEVEL": "JAVA_17", + "FORGE_EXPLOSION_EVENT_PACKAGE": "net.minecraftforge.event.level", + "FORGE_EXPLOSION_EVENT_GET_LEVEL": "getLevel" + } + }, + "1.20.1-forge-fabric": { + "description": "1.20.1 Forge-Fabric Template", + "templates": [ + "templates/architectury", + "templates/architectury_fabric", + "templates/api_new" + ], + "tokens": { + "MINECRAFT": "1.20.1", + "COMMON_MOD_LOADERS": "fabric,forge", + "INCLUDE_FABRIC_OR_QUILT": "include(\"fabric\")", + "JAVA_VERSION": "#JAVA_17", + "COMPILE_JAVA": "#COMPILE_JAVA_17_ARCH", + "__FABRIC_LOADER": "#FABRIC_LOADER", + "__FABRIC_LOADER_PROP": "#FABRIC_LOADER_PROP", + "MCMETA_FORMAT": "15", + "ARCHITECTURY_GROUP": "dev.architectury", + "ARCHITECTURY_PACKAGE": "dev.architectury", + "ARCHITECTURY_API": { + "filter": "9\\..*", + "pom": "https://maven.architectury.dev/dev/architectury/architectury/maven-metadata.xml" + }, + "YARN_MAPPINGS": { + "filter": "1\\.20\\.1\\+build\\..*", + "pom": "https://maven.fabricmc.net/net/fabricmc/yarn/maven-metadata.xml" + }, + "__FABRIC_API": { + "filter": ".*\\+1\\.20\\.1", + "pom": "https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api/maven-metadata.xml" + }, + "__FABRIC_API_PROP": "#FABRIC_API_PROP", + "FORGE": { + "filter": "1\\.20\\.1-.*", + "pom": "https://maven.minecraftforge.net/net/minecraftforge/forge/maven-metadata.xml" + }, + "FORGE_LOADER_MAJOR": "47" + } + }, + "1.20.1-forge-fabric-mixin": { + "description": "1.20.1 Forge-Fabric Template with Mixins", + "templates": [ + "templates/architectury", + "templates/architectury_fabric", + "templates/api_new", + "templates/mixin", + "templates/mixin_fabric" + ], + "inherit_tokens": ["1.20.1-forge-fabric"], + "tokens": { + "__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK", + "MIXIN_COMPAT_LEVEL": "JAVA_17", + "__LOOM_FORGE_EXT": "#LOOM_FORGE_EXT" + } + }, + "1.20.1-forge-quilt": { + "description": "1.20.1 Forge-Quilt Template", + "templates": [ + "templates/architectury", + "templates/architectury_quilt", + "templates/api_new" + ], + "inherit_tokens": ["1.20.1-forge-fabric"], + "tokens": { + "COMMON_MOD_LOADERS": "quilt,forge", + "INCLUDE_FABRIC_OR_QUILT": "include(\"quilt\")", + "__FABRIC_LOADER_PROP": "", + "__FABRIC_LOADER": "", + "__FABRIC_API_PROP": "", + "__FABRIC_API": "", + "__QUILT_LOADER_PROP": "#QUILT_LOADER_PROP", + "__QUILT_LOADER": "#QUILT_LOADER", + "__QUILT_FABRIC_API_PROP": "#QUILT_FABRIC_API_PROP", + "__QUILT_FABRIC_API": { + "filter": ".*\\-1\\.20\\.1", + "pom": "https://maven.quiltmc.org/repository/release/org/quiltmc/quilted-fabric-api/quilted-fabric-api/maven-metadata.xml" + } + } + }, + "1.20.1-forge-quilt-mixin": { + "description": "1.20.1 Forge-Quilt Template with Mixins", + "templates": [ + "templates/architectury", + "templates/architectury_quilt", + "templates/api_new", + "templates/mixin", + "templates/mixin_quilt" + ], + "inherit_tokens": ["1.20.1-forge-quilt"], + "tokens": { + "__MIXIN_QUILT_BLOCK": "#MIXIN_QUILT_BLOCK", + "MIXIN_COMPAT_LEVEL": "JAVA_17", + "__LOOM_FORGE_EXT": "#LOOM_FORGE_EXT" + } + }, + "1.20.1-forge-fabric-quilt": { + "description": "1.20.1 Forge-Fabric-Quilt Template", + "templates": [ + "templates/architectury", + "templates/architectury_fabric", + "templates/architectury_quilt", + "templates/api_new" + ], + "inherit_tokens": ["1.20.1-forge-fabric"], + "tokens": { + "COMMON_MOD_LOADERS": "quilt,fabric,forge", + "INCLUDE_FABRIC_OR_QUILT": "include(\"fabric\")\ninclude(\"quilt\")", + "__QUILT_LOADER_PROP": "#QUILT_LOADER_PROP", + "__QUILT_LOADER": "#QUILT_LOADER", + "__QUILT_FABRIC_API_PROP": "#QUILT_FABRIC_API_PROP", + "__QUILT_FABRIC_API": { + "filter": ".*\\-1\\.20\\.1", + "pom": "https://maven.quiltmc.org/repository/release/org/quiltmc/quilted-fabric-api/quilted-fabric-api/maven-metadata.xml" + } + } + }, + "1.20.1-forge-fabric-quilt-mixin": { + "description": "1.20.1 Forge-Fabric-Quilt Template with Mixins", + "templates": [ + "templates/architectury", + "templates/architectury_fabric", + "templates/architectury_quilt", + "templates/api_new", + "templates/mixin", + "templates/mixin_fabric", + "templates/mixin_quilt" + ], + "inherit_tokens": ["1.20.1-forge-fabric-quilt"], + "tokens": { + "__MIXIN_QUILT_BLOCK": "#MIXIN_QUILT_BLOCK", + "MIXIN_COMPAT_LEVEL": "JAVA_17", + "__LOOM_FORGE_EXT": "#LOOM_FORGE_EXT" + } + }, + "1.20.1-forge-fabric-like": { + "description": "1.20.1 Forge-Fabric-Like Template", + "templates": [ + "templates/architectury", + "templates/architectury_fabric", + "templates/architectury_quilt", + "templates/architectury_fabric_like", + "templates/api_new" + ], + "inherit_tokens": ["1.20.1-forge-fabric"], + "tokens": { + "COMMON_MOD_LOADERS": "quilt,fabric,forge", + "INCLUDE_FABRIC_OR_QUILT": "include(\"fabric-like\")\ninclude(\"fabric\")\ninclude(\"quilt\")", + "__FABRIC_ADD_FABRICLIKE": "#FABRIC_ADD_FABRICLIKE", + "__QUILT_ADD_FABRICLIKE": "#QUILT_ADD_FABRICLIKE", + "__QUILT_LOADER_PROP": "#QUILT_LOADER_PROP", + "__QUILT_LOADER": "#QUILT_LOADER", + "__QUILT_FABRIC_API_PROP": "#QUILT_FABRIC_API_PROP", + "__QUILT_FABRIC_API": { + "filter": ".*\\-1\\.20\\.1", + "pom": "https://maven.quiltmc.org/repository/release/org/quiltmc/quilted-fabric-api/quilted-fabric-api/maven-metadata.xml" + } + } + }, + "1.20.1-forge-fabric-like-mixin": { + "description": "1.20.1 Forge-Fabric-Like Template with Mixins", + "templates": [ + "templates/architectury", + "templates/architectury_fabric", + "templates/architectury_quilt", + "templates/architectury_fabric_like", + "templates/api_new", + "templates/mixin", + "templates/mixin_fabric", + "templates/mixin_quilt" + ], + "inherit_tokens": ["1.20.1-forge-fabric-like"], + "tokens": { + "__MIXIN_FABRIC_BLOCK": "#MIXIN_FABRIC_BLOCK", + "__MIXIN_QUILT_BLOCK": "#MIXIN_QUILT_BLOCK", + "MIXIN_COMPAT_LEVEL": "JAVA_17", + "__LOOM_FORGE_EXT": "#LOOM_FORGE_EXT" + } } } }