From 1689658bc52de8a7462a2a2545a89c0dea868c8b Mon Sep 17 00:00:00 2001 From: Alatyami Date: Sun, 16 Jun 2024 20:49:38 -0600 Subject: [PATCH] Update version and comment out 'mods' block in build.gradle The 'mods' block in build.gradle has been commented out for this commit. Additionally, the mod, mapping, Minecraft, and Forge versions have all been updated to ensure code compatibility and functionality with the current version of the game and mod framework. The mod versioning commentary has also been simplified. --- build.gradle | 12 ++++++------ gradle.properties | 22 ++++++++++------------ 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/build.gradle b/build.gradle index 4777ca6..1fc6721 100644 --- a/build.gradle +++ b/build.gradle @@ -43,11 +43,11 @@ minecraft { property 'forge.logging.markers', 'REGISTRIES' property 'forge.logging.console.level', 'debug' - mods { - "${mod_id}" { - source sourceSets.main - } - } + //mods { + // "${mod_id}" { + // source sourceSets.main + // } + //} } client { @@ -108,7 +108,7 @@ tasks.named('jar', Jar).configure { attributes([ 'Specification-Title' : mod_id, 'Specification-Vendor' : mod_authors, - 'Specification-Version' : '9', // We are version 1 of ourselves + 'Specification-Version' : '1.20', // We are version 1 of ourselves 'Implementation-Title' : project.name, 'Implementation-Version' : project.jar.archiveVersion, 'Implementation-Vendor' : mod_authors, diff --git a/gradle.properties b/gradle.properties index 5c0d781..24f4c8f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,17 +4,17 @@ org.gradle.jvmargs=-Xmx3G org.gradle.daemon=false ## Environment Properties # The Minecraft version must agree with the Forge version to get a valid artifact -minecraft_version=1.20.3 +minecraft_version=1.20.4 # The Minecraft version range can use any release version of Minecraft as bounds. # Snapshots, pre-releases, and release candidates are not guaranteed to sort properly # as they do not follow standard versioning conventions. -minecraft_version_range=[1.20.3,1.21) +minecraft_version_range=[1.20.4,1.21) # The Forge version must agree with the Minecraft version to get a valid artifact -forge_version=49.0.2 +forge_version=49.1.0 # The Forge version range can use any version of Forge as bounds or match the loader version range -forge_version_range=[49,) +forge_version_range=[0,) # The loader version range can only use the major version of Forge/FML as bounds -loader_version_range=[49,) +loader_version_range=[0,) # The mapping channel to use for mappings. # The default set of supported mapping channels are ["official", "snapshot", "snapshot_nodoc", "stable", "stable_nodoc"]. # Additional mapping channels can be registered through the "channelProviders" extension in a Gradle plugin. @@ -32,8 +32,10 @@ loader_version_range=[49,) mapping_channel=official # The mapping version to query from the mapping channel. # This must match the format required by the mapping channel. -mapping_version=1.20.3 +mapping_version=1.20.4 + ## Mod Properties + # The unique mod identifier for the mod. Must be lowercase in English locale. Must fit the regex [a-z][a-z0-9_]{1,63} # Must match the String constant located in the main mod class annotated with @Mod. mod_id=growthcraft_deco @@ -41,12 +43,8 @@ mod_id=growthcraft_deco mod_name=Growthcraft Decorations # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=GNU General Public License v3.0 -# Versioning Scheme -# 9.x.x -# | | Bug Fix / Maintenance Release -# | Feature Release -# Product Release -mod_version=1.20.3.1 +# The mod version. See https://semver.org/ +mod_version=1.20.4.1 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html