Skip to content

Commit

Permalink
Update version and comment out 'mods' block in build.gradle
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Alatyami committed Jun 17, 2024
1 parent 0233d90 commit 1689658
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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,
Expand Down
22 changes: 10 additions & 12 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -32,21 +32,19 @@ 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
# The human-readable display name for the mod.
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
Expand Down

0 comments on commit 1689658

Please sign in to comment.