diff --git a/conventions/src/main/kotlin/de.siphalor.tweed5.minecraft.mod.base.gradle.kts b/conventions/src/main/kotlin/de.siphalor.tweed5.minecraft.mod.base.gradle.kts index f8b526a..6c95eb9 100644 --- a/conventions/src/main/kotlin/de.siphalor.tweed5.minecraft.mod.base.gradle.kts +++ b/conventions/src/main/kotlin/de.siphalor.tweed5.minecraft.mod.base.gradle.kts @@ -2,7 +2,6 @@ plugins { id("com.gradleup.shadow") java `java-library` - id("de.siphalor.tweed5.publishing") id("de.siphalor.tweed5.minecraft.mod.component") } @@ -15,50 +14,3 @@ tasks.shadowJar { relocate("org.apache.commons", "de.siphalor.tweed5.shadowed.org.apache.commons") } -val processMinecraftModResources = tasks.register("processMinecraftModResources") { - inputs.property("id", project.name) - inputs.property("version", project.version) - inputs.property("name", properties["module.name"]) - inputs.property("description", properties["module.description"]) - inputs.property("repoUrl", properties["git.url"]) - - from(project.layout.settingsDirectory.dir("../tweed5-minecraft/mod-template/resources")) - expand(mapOf( - "id" to project.name.replace('-', '_'), - "version" to project.version, - "name" to properties["module.name"], - "description" to properties["module.description"], - "repoUrl" to properties["git.url"], - )) - into(project.layout.buildDirectory.dir("minecraftModResources")) -} - -val minecraftModJar = tasks.register("minecraftModJar") { - group = LifecycleBasePlugin.BUILD_GROUP - - dependsOn(processMinecraftModResources) - - from(zipTree(tasks.shadowJar.get().archiveFile)) - from(project.layout.buildDirectory.dir("minecraftModResources")) - - destinationDirectory.set(layout.buildDirectory.dir("minecraftModLibs")) -} -tasks.assemble { - dependsOn(minecraftModJar) -} - -val minecraftModSourcesJar = tasks.register("minecraftModSourcesJar") { - group = LifecycleBasePlugin.BUILD_GROUP - - dependsOn(processMinecraftModResources) - - from(zipTree(tasks.named("sourcesJar").get().archiveFile)) - from(project.layout.buildDirectory.dir("minecraftModResources")) - - archiveClassifier = "sources" - destinationDirectory.set(layout.buildDirectory.dir("minecraftModLibs")) -} - -artifacts.add("minecraftModElements", minecraftModJar) -artifacts.add("minecraftModApiElements", minecraftModJar) -artifacts.add("minecraftModSourcesElements", minecraftModSourcesJar) diff --git a/conventions/src/main/kotlin/de.siphalor.tweed5.minecraft.mod.dummy.gradle.kts b/conventions/src/main/kotlin/de.siphalor.tweed5.minecraft.mod.dummy.gradle.kts index 87a1446..be71963 100644 --- a/conventions/src/main/kotlin/de.siphalor.tweed5.minecraft.mod.dummy.gradle.kts +++ b/conventions/src/main/kotlin/de.siphalor.tweed5.minecraft.mod.dummy.gradle.kts @@ -4,6 +4,55 @@ plugins { id("de.siphalor.tweed5.minecraft.mod.base") } +val processMinecraftModResources = tasks.register("processMinecraftModResources") { + inputs.property("id", project.name) + inputs.property("version", project.version) + inputs.property("name", properties["module.name"]) + inputs.property("description", properties["module.description"]) + inputs.property("repoUrl", properties["git.url"]) + + from(project.layout.settingsDirectory.dir("../tweed5-minecraft/mod-template/resources")) + expand(mapOf( + "id" to project.name.replace('-', '_'), + "version" to project.version, + "name" to properties["module.name"], + "description" to properties["module.description"], + "repoUrl" to properties["git.url"], + )) + into(project.layout.buildDirectory.dir("minecraftModResources")) +} + +val minecraftModJar = tasks.register("minecraftModJar") { + group = LifecycleBasePlugin.BUILD_GROUP + + dependsOn(tasks.shadowJar) + dependsOn(processMinecraftModResources) + + from(zipTree(tasks.shadowJar.get().archiveFile)) + from(project.layout.buildDirectory.dir("minecraftModResources")) + + destinationDirectory.set(layout.buildDirectory.dir("minecraftModLibs")) +} +tasks.assemble { + dependsOn(minecraftModJar) +} + +val minecraftModSourcesJar = tasks.register("minecraftModSourcesJar") { + group = LifecycleBasePlugin.BUILD_GROUP + + dependsOn(processMinecraftModResources) + + from(zipTree(tasks.named("sourcesJar").get().archiveFile)) + from(project.layout.buildDirectory.dir("minecraftModResources")) + + archiveClassifier = "sources" + destinationDirectory.set(layout.buildDirectory.dir("minecraftModLibs")) +} + +artifacts.add("minecraftModElements", minecraftModJar) +artifacts.add("minecraftModApiElements", minecraftModJar) +artifacts.add("minecraftModSourcesElements", minecraftModSourcesJar) + publishing { publications { create("minecraftMod") { diff --git a/tweed5-minecraft/buildSrc/src/main/kotlin/de.siphalor.tweed5.minecraft.mod.cross-version.gradle.kts b/tweed5-minecraft/buildSrc/src/main/kotlin/de.siphalor.tweed5.minecraft.mod.cross-version.gradle.kts index 255e3fd..2a648f1 100644 --- a/tweed5-minecraft/buildSrc/src/main/kotlin/de.siphalor.tweed5.minecraft.mod.cross-version.gradle.kts +++ b/tweed5-minecraft/buildSrc/src/main/kotlin/de.siphalor.tweed5.minecraft.mod.cross-version.gradle.kts @@ -1,3 +1,4 @@ +import de.siphalor.jcyo.gradle.JcyoTask import de.siphalor.tweed5.gradle.plugin.minecraft.mod.MinecraftModded import java.nio.file.Files import java.nio.file.StandardCopyOption @@ -6,6 +7,7 @@ import java.util.Properties plugins { java id("fabric-loom") + id("de.siphalor.tweed5.publishing") id("de.siphalor.tweed5.expanded-sources-jar") id("de.siphalor.jcyo") id("io.freefair.lombok") @@ -21,7 +23,7 @@ val mcProps = Properties().apply { val mcCatalog = versionCatalogs.named("mcLibs") -group = "de.siphalor.tweed5.minecraft.${project.name}" +group = "de.siphalor.tweed5.minecraft" val archivesBaseName = "${project.name}-mc$minecraftVersionDescriptor" base { archivesName.set(archivesBaseName) @@ -63,6 +65,7 @@ repositories { includeGroupAndSubgroups("de.siphalor") } } + mavenLocal() } configurations { @@ -86,9 +89,29 @@ dependencies { "testmodImplementation"(sourceSets.main.map { it.output }) } +val jcyoVars = mcProps.stringPropertyNames() + .filter { it.startsWith("preprocessor.") } + .map { it to mcProps[it] } + .associate { (key, value) -> key.substring("preprocessor.".length) to value.toString() } +val jcyo = tasks.register("jcyo") { + inputDirectory = file("src/main/java") + variables = jcyoVars +} +val testmodJcyo = tasks.register("testmodJcyo") { + inputDirectory = file("src/testmod/java") + variables = jcyoVars +} + +tasks.compileJava { + dependsOn(jcyo) +} + +tasks.named("compileTestmodJava") { + dependsOn(testmodJcyo) +} + java { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + withSourcesJar() } lombok { @@ -120,14 +143,23 @@ afterEvaluate { } } -tasks.jar { - dependsOn(tasks.processMinecraftModResources) - from(project.layout.buildDirectory.dir("minecraftModResources")) -} +tasks.named("processResources") { + inputs.property("id", project.name) + inputs.property("version", project.version) + inputs.property("name", properties["module.name"]) + inputs.property("description", properties["module.description"]) + inputs.property("repoUrl", properties["git.url"]) -tasks.sourcesJar { - dependsOn(tasks.processMinecraftModResources) - from(project.layout.buildDirectory.dir("minecraftModResources")) + from(project.layout.settingsDirectory.dir("../tweed5-minecraft/mod-template/resources")) { + expand(mapOf( + "id" to project.name.replace('-', '_'), + "version" to project.version, + "name" to properties["module.name"].toString(), + "description" to properties["module.description"], + "repoUrl" to properties["git.url"], + )) + } + duplicatesStrategy = DuplicatesStrategy.EXCLUDE } tasks.named("processTestmodResources") { @@ -152,3 +184,15 @@ tasks.named("processTestmodResources") { fun getMcCatalogVersion(name: String): String { return mcCatalog.findVersion(name).get().requiredVersion } + +publishing { + publications { + create("minecraftMod") { + groupId = "${project.group}.${project.name}" + artifactId = "${project.name}-${minecraftVersionDescriptor}" + version = shortVersion + + from(components["java"]) + } + } +} diff --git a/tweed5-minecraft/coat-bridge/build.gradle.kts b/tweed5-minecraft/coat-bridge/build.gradle.kts index 1c5167f..64684c5 100644 --- a/tweed5-minecraft/coat-bridge/build.gradle.kts +++ b/tweed5-minecraft/coat-bridge/build.gradle.kts @@ -14,8 +14,8 @@ dependencies { modTestmodImplementation(fabricApi.module(it, mcLibs.versions.fabric.api.get())) } testmodImplementation(project(":tweed5-bundle", configuration = "minecraftModElements")) + testmodImplementation(project(":tweed5-fabric-helper", configuration = "namedElements")) modTestmodImplementation(mcLibs.coat) modTestmodImplementation(mcLibs.amecs.api) - testmodImplementation(project(":tweed5-fabric-helper")) testmodImplementation("de.siphalor.tweed5:tweed5-serde-hjson") } diff --git a/tweed5-minecraft/coat-bridge/src/main/java/de/siphalor/tweed5/coat/bridge/api/TweedCoatMappingUtils.java b/tweed5-minecraft/coat-bridge/src/main/java/de/siphalor/tweed5/coat/bridge/api/TweedCoatMappingUtils.java index 6714bc6..2e60464 100644 --- a/tweed5-minecraft/coat-bridge/src/main/java/de/siphalor/tweed5/coat/bridge/api/TweedCoatMappingUtils.java +++ b/tweed5-minecraft/coat-bridge/src/main/java/de/siphalor/tweed5/coat/bridge/api/TweedCoatMappingUtils.java @@ -2,21 +2,42 @@ package de.siphalor.tweed5.coat.bridge.api; import lombok.AccessLevel; import lombok.NoArgsConstructor; +//- import net.minecraft.client.resources.language.I18n; import net.minecraft.network.chat.Component; import net.minecraft.network.chat.MutableComponent; +//- import net.minecraft.network.chat.TextComponent; +//- import net.minecraft.network.chat.TranslatableComponent; import org.jspecify.annotations.Nullable; @NoArgsConstructor(access = AccessLevel.PRIVATE) public class TweedCoatMappingUtils { public static MutableComponent translatableComponentWithFallback(String translationKey, @Nullable String fallback) { + //# if MC_VERSION_NUMBER >= 11900 return Component.translatableWithFallback(translationKey, fallback == null ? "" : fallback); - // FIXME - //if (I18n.exists(translationKey)) { - // return Component.translatable(translationKey); - //} else if (fallback != null) { - // return Component.literal(fallback); - //} else { - // return Component.empty(); - //} + //# else + //- if (I18n.exists(translationKey)) { + //- return new TranslatableComponent(translationKey); + //- } else if (fallback != null) { + //- return new TextComponent(fallback); + //- } else { + //- return new TextComponent(""); + //- } + //# end + } + + public static MutableComponent translatableComponent(String translationKey, Object... args) { + //# if MC_VERSION_NUMBER >= 11900 + return Component.translatable(translationKey, args); + //# else + //- return new TranslatableComponent(translationKey, args); + //# end + } + + public static MutableComponent literalComponent(String literal) { + //# if MC_VERSION_NUMBER >= 11900 + return Component.literal(literal); + //# else + //- return new TextComponent(literal); + //# end } } diff --git a/tweed5-minecraft/coat-bridge/src/main/java/de/siphalor/tweed5/coat/bridge/api/mapping/handler/BasicTweedCoatEntryHandler.java b/tweed5-minecraft/coat-bridge/src/main/java/de/siphalor/tweed5/coat/bridge/api/mapping/handler/BasicTweedCoatEntryHandler.java index 391b95c..0ef651a 100644 --- a/tweed5-minecraft/coat-bridge/src/main/java/de/siphalor/tweed5/coat/bridge/api/mapping/handler/BasicTweedCoatEntryHandler.java +++ b/tweed5-minecraft/coat-bridge/src/main/java/de/siphalor/tweed5/coat/bridge/api/mapping/handler/BasicTweedCoatEntryHandler.java @@ -16,6 +16,8 @@ import java.util.Objects; import java.util.function.Consumer; import java.util.stream.Collectors; +import static de.siphalor.tweed5.coat.bridge.api.TweedCoatMappingUtils.literalComponent; + @CommonsLog public class BasicTweedCoatEntryHandler implements ConfigEntryHandler { protected final ConfigEntry configEntry; @@ -43,7 +45,7 @@ public class BasicTweedCoatEntryHandler implements C .flatMap(entryIssues -> entryIssues.issues().stream()) .map(issue -> new Message( mapLevel(issue.level()), - Component.literal(issue.message()) + literalComponent(issue.message()) )) .collect(Collectors.toList()); } @@ -68,7 +70,7 @@ public class BasicTweedCoatEntryHandler implements C @Override public Component asText(T value) { - return Component.literal(Objects.toString(value)); + return literalComponent(Objects.toString(value)); } protected T processSaveValue(T value) { diff --git a/tweed5-minecraft/coat-bridge/src/main/java/de/siphalor/tweed5/coat/bridge/api/mapping/handler/ConvertingTweedCoatEntryHandler.java b/tweed5-minecraft/coat-bridge/src/main/java/de/siphalor/tweed5/coat/bridge/api/mapping/handler/ConvertingTweedCoatEntryHandler.java index c87191f..79bf567 100644 --- a/tweed5-minecraft/coat-bridge/src/main/java/de/siphalor/tweed5/coat/bridge/api/mapping/handler/ConvertingTweedCoatEntryHandler.java +++ b/tweed5-minecraft/coat-bridge/src/main/java/de/siphalor/tweed5/coat/bridge/api/mapping/handler/ConvertingTweedCoatEntryHandler.java @@ -12,6 +12,9 @@ import java.util.Collections; import java.util.Objects; import java.util.function.Function; +import static de.siphalor.tweed5.coat.bridge.api.TweedCoatMappingUtils.literalComponent; +import static de.siphalor.tweed5.coat.bridge.api.TweedCoatMappingUtils.translatableComponent; + @RequiredArgsConstructor @CommonsLog public class ConvertingTweedCoatEntryHandler implements ConfigEntryHandler { @@ -34,7 +37,7 @@ public class ConvertingTweedCoatEntryHandler impl } catch (Exception e) { return Collections.singletonList(new Message( Message.Level.ERROR, - Component.translatable(CONVERSION_EXCEPTION_TEXT_KEY, e.getMessage()) + translatableComponent(CONVERSION_EXCEPTION_TEXT_KEY, e.getMessage()) )); } } @@ -60,6 +63,6 @@ public class ConvertingTweedCoatEntryHandler impl @Override public Component asText(C value) { - return Component.literal(Objects.toString(value)); + return literalComponent(Objects.toString(value)); } } diff --git a/tweed5-minecraft/coat-bridge/src/testmod/java/de/siphalor/tweed5/coat/bridge/testmod/TweedCoatBridgeTestMod.java b/tweed5-minecraft/coat-bridge/src/testmod/java/de/siphalor/tweed5/coat/bridge/testmod/TweedCoatBridgeTestMod.java index be7bbef..7ec7397 100644 --- a/tweed5-minecraft/coat-bridge/src/testmod/java/de/siphalor/tweed5/coat/bridge/testmod/TweedCoatBridgeTestMod.java +++ b/tweed5-minecraft/coat-bridge/src/testmod/java/de/siphalor/tweed5/coat/bridge/testmod/TweedCoatBridgeTestMod.java @@ -16,10 +16,12 @@ import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper; import net.minecraft.client.KeyMapping; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.screens.TitleScreen; -import net.minecraft.network.chat.Component; +import org.lwjgl.glfw.GLFW; import java.util.Arrays; +import static de.siphalor.tweed5.coat.bridge.api.TweedCoatMappingUtils.translatableComponent; + @CustomLog public class TweedCoatBridgeTestMod implements ClientModInitializer { public static final String MOD_ID = "tweed5_coat_bridge_testmod"; @@ -52,13 +54,25 @@ public class TweedCoatBridgeTestMod implements ClientModInitializer { config = configContainerHelper.loadAndUpdateInConfigDirectory(() -> DEFAULT_CONFIG_VALUE); - KeyBindingHelper.registerKeyBinding(new ScreenKeyBinding(MOD_ID + ".config", 84, KeyMapping.Category.MISC)); + KeyBindingHelper.registerKeyBinding(new ScreenKeyBinding( + MOD_ID + ".config", + GLFW.GLFW_KEY_T, + //# if MC_VERSION_NUMBER >= 12109 + KeyMapping.Category.MISC + //# else + //- "key.categories.misc" + //# end + )); log.info("Current config: " + config); } private class ScreenKeyBinding extends KeyMapping implements PriorityKeyBinding { + //# if MC_VERSION_NUMBER >= 12109 public ScreenKeyBinding(String name, int key, Category category) { + //# else + //- public ScreenKeyBinding(String name, int key, String category) { + //# end super(name, key, category); } @@ -71,7 +85,7 @@ public class TweedCoatBridgeTestMod implements ClientModInitializer { ConfigScreen configScreen = configCoatBridgeExtension.createConfigScreen( ConfigScreenCreateParams.builder() .translationKeyPrefix(MOD_ID + ".config") - .title(Component.translatable(MOD_ID + ".title")) + .title(translatableComponent(MOD_ID + ".title")) .rootEntry(configContainer.rootEntry()) .currentValue(config) .defaultValue(DEFAULT_CONFIG_VALUE) diff --git a/tweed5-minecraft/gradle/mc-1.16.5/gradle.properties b/tweed5-minecraft/gradle/mc-1.16.5/gradle.properties new file mode 100644 index 0000000..c263d3b --- /dev/null +++ b/tweed5-minecraft/gradle/mc-1.16.5/gradle.properties @@ -0,0 +1 @@ +preprocessor.mc_version_number = 11605 diff --git a/tweed5-minecraft/gradle/mc-1.16.5/mcLibs.versions.toml b/tweed5-minecraft/gradle/mc-1.16.5/mcLibs.versions.toml new file mode 100644 index 0000000..78bcfaa --- /dev/null +++ b/tweed5-minecraft/gradle/mc-1.16.5/mcLibs.versions.toml @@ -0,0 +1,12 @@ +[versions] +amecs-api = "1.6.2" +coat = "1.0.0-beta.24" +fabric-api = "0.42.0+1.16" +minecraft = "1.16.5" +parchment = "2022.03.06" + +[libraries] +amecs-api = { group = "de.siphalor.amecs-api", name = "amecs-api-mc1.16.5", version.ref = "amecs-api" } +coat = { group = "de.siphalor.coat", name = "coat-mc1.16.5", version.ref = "coat" } +fabric-api = { group = "net.fabricmc.fabric-api", name = "fabric-api", version.ref = "fabric-api" } +minecraft = { group = "com.mojang", name = "minecraft", version.ref = "minecraft" } diff --git a/tweed5-minecraft/gradle/mc-1.17.1/gradle.properties b/tweed5-minecraft/gradle/mc-1.17.1/gradle.properties new file mode 100644 index 0000000..bc7911e --- /dev/null +++ b/tweed5-minecraft/gradle/mc-1.17.1/gradle.properties @@ -0,0 +1 @@ +preprocessor.mc_version_number = 11701 diff --git a/tweed5-minecraft/gradle/mc-1.17.1/mcLibs.versions.toml b/tweed5-minecraft/gradle/mc-1.17.1/mcLibs.versions.toml new file mode 100644 index 0000000..c2f9efd --- /dev/null +++ b/tweed5-minecraft/gradle/mc-1.17.1/mcLibs.versions.toml @@ -0,0 +1,12 @@ +[versions] +amecs-api = "1.6.2" +coat = "1.0.0-beta.24" +fabric-api = "0.46.1+1.17" +minecraft = "1.17.1" +parchment = "2021.12.12" + +[libraries] +amecs-api = { group = "de.siphalor.amecs-api", name = "amecs-api-mc1.17.1", version.ref = "amecs-api" } +coat = { group = "de.siphalor.coat", name = "coat-mc1.17.1", version.ref = "coat" } +fabric-api = { group = "net.fabricmc.fabric-api", name = "fabric-api", version.ref = "fabric-api" } +minecraft = { group = "com.mojang", name = "minecraft", version.ref = "minecraft" } diff --git a/tweed5-minecraft/gradle/mc-1.18.2/gradle.properties b/tweed5-minecraft/gradle/mc-1.18.2/gradle.properties new file mode 100644 index 0000000..e1f4489 --- /dev/null +++ b/tweed5-minecraft/gradle/mc-1.18.2/gradle.properties @@ -0,0 +1 @@ +preprocessor.mc_version_number = 11802 diff --git a/tweed5-minecraft/gradle/mc-1.18.2/mcLibs.versions.toml b/tweed5-minecraft/gradle/mc-1.18.2/mcLibs.versions.toml new file mode 100644 index 0000000..ca60374 --- /dev/null +++ b/tweed5-minecraft/gradle/mc-1.18.2/mcLibs.versions.toml @@ -0,0 +1,12 @@ +[versions] +amecs-api = "1.6.2" +coat = "1.0.0-beta.24" +fabric-api = "0.77.0+1.18.2" +minecraft = "1.18.2" +parchment = "2022.11.06" + +[libraries] +amecs-api = { group = "de.siphalor.amecs-api", name = "amecs-api-mc1.18.2", version.ref = "amecs-api" } +coat = { group = "de.siphalor.coat", name = "coat-mc1.18.2", version.ref = "coat" } +fabric-api = { group = "net.fabricmc.fabric-api", name = "fabric-api", version.ref = "fabric-api" } +minecraft = { group = "com.mojang", name = "minecraft", version.ref = "minecraft" } diff --git a/tweed5-minecraft/gradle/mc-1.19.4/gradle.properties b/tweed5-minecraft/gradle/mc-1.19.4/gradle.properties new file mode 100644 index 0000000..2bd3afe --- /dev/null +++ b/tweed5-minecraft/gradle/mc-1.19.4/gradle.properties @@ -0,0 +1 @@ +preprocessor.mc_version_number = 11904 diff --git a/tweed5-minecraft/gradle/mc-1.19.4/mcLibs.versions.toml b/tweed5-minecraft/gradle/mc-1.19.4/mcLibs.versions.toml new file mode 100644 index 0000000..85e35d2 --- /dev/null +++ b/tweed5-minecraft/gradle/mc-1.19.4/mcLibs.versions.toml @@ -0,0 +1,12 @@ +[versions] +amecs-api = "1.6.2" +coat = "1.0.0-beta.24" +fabric-api = "0.87.2+1.19.4" +minecraft = "1.19.4" +parchment = "2023.06.26" + +[libraries] +amecs-api = { group = "de.siphalor.amecs-api", name = "amecs-api-mc1.19.4", version.ref = "amecs-api" } +coat = { group = "de.siphalor.coat", name = "coat-mc1.19.4", version.ref = "coat" } +fabric-api = { group = "net.fabricmc.fabric-api", name = "fabric-api", version.ref = "fabric-api" } +minecraft = { group = "com.mojang", name = "minecraft", version.ref = "minecraft" } diff --git a/tweed5-minecraft/gradle/mc-1.20.6/gradle.properties b/tweed5-minecraft/gradle/mc-1.20.6/gradle.properties new file mode 100644 index 0000000..e4c5006 --- /dev/null +++ b/tweed5-minecraft/gradle/mc-1.20.6/gradle.properties @@ -0,0 +1 @@ +preprocessor.mc_version_number = 12006 diff --git a/tweed5-minecraft/gradle/mc-1.20.6/mcLibs.versions.toml b/tweed5-minecraft/gradle/mc-1.20.6/mcLibs.versions.toml new file mode 100644 index 0000000..c2234b5 --- /dev/null +++ b/tweed5-minecraft/gradle/mc-1.20.6/mcLibs.versions.toml @@ -0,0 +1,12 @@ +[versions] +amecs-api = "1.6.2" +coat = "1.0.0-beta.24" +fabric-api = "0.100.8+1.20.6" +minecraft = "1.20.6" +parchment = "2024.06.16" + +[libraries] +amecs-api = { group = "de.siphalor.amecs-api", name = "amecs-api-mc1.20.2", version.ref = "amecs-api" } +coat = { group = "de.siphalor.coat", name = "coat-mc1.20.5", version.ref = "coat" } +fabric-api = { group = "net.fabricmc.fabric-api", name = "fabric-api", version.ref = "fabric-api" } +minecraft = { group = "com.mojang", name = "minecraft", version.ref = "minecraft" } diff --git a/tweed5-minecraft/gradle/mc-1.21.10/gradle.properties b/tweed5-minecraft/gradle/mc-1.21.10/gradle.properties index e69de29..f3d36fc 100644 --- a/tweed5-minecraft/gradle/mc-1.21.10/gradle.properties +++ b/tweed5-minecraft/gradle/mc-1.21.10/gradle.properties @@ -0,0 +1 @@ +preprocessor.mc_version_number = 12110