diff --git a/build.gradle b/build.gradle index 45390b2..01e421b 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 { @@ -114,7 +114,7 @@ tasks.named('jar', Jar).configure { attributes([ 'Specification-Title' : mod_id, 'Specification-Vendor' : mod_authors, - 'Specification-Version' : '9', + 'Specification-Version' : '1.20', 'Implementation-Title' : project.name, 'Implementation-Version' : project.jar.archiveVersion, 'Implementation-Vendor' : mod_authors, diff --git a/gradle.properties b/gradle.properties index e528d2c..848c266 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,16 +2,18 @@ # This is required to provide enough memory for the Minecraft decompilation process. org.gradle.jvmargs=-Xmx3G org.gradle.daemon=false + # ------------------------------------------------ # Environment Properties # ------------------------------------------------ -minecraft_version=1.20.2 -minecraft_version_range=[1.20.2,1.21) -forge_version=48.1.0 -forge_version_range=[48,) -loader_version_range=[48,) +minecraft_version=1.20.4 +minecraft_version_range=[1.20.4,1.21) +forge_version=49.1.0 +forge_version_range=[0,) +loader_version_range=[0,) mapping_channel=official -mapping_version=1.20.2 +mapping_version=1.20.4 + # ------------------------------------------------ # Mod Properties # ------------------------------------------------ @@ -21,10 +23,11 @@ mod_id=growthcraft_trapper mod_archive_base=growthcraft-trapper mod_name=Growthcraft Trapper mod_license=GNU General Public License v3.0 -mod_version=1.20.2.1 +mod_version=1.20.4.1 mod_group_id=growthcraft mod_authors=Alatyami mod_description=Growthcraft Trapper is a realistic and immersive Forge mod that adds various new trapping elements to the game of Minecraft. + # ------------------------------------------------ # Mod Compatibility # ------------------------------------------------ @@ -33,11 +36,11 @@ mod_description=Growthcraft Trapper is a realistic and immersive Forge mod that # curseforge_MODNAME=CURSE_PROJ_ID:CURSE_FILE_ID # ------------------------------------------------ # JEI - https://www.curseforge.com/minecraft/mc-mods/jei/files -curseforge_jei=238222:5101374 +curseforge_jei=238222:5491249 # ------------------------------------------------ # TheOneProbe https://www.curseforge.com/minecraft/mc-mods/the-one-probe/files -curseforge_theoneprobe=245211:4613250 +curseforge_theoneprobe=245211:5159289 # ------------------------------------------------ # Patchouli https://www.curseforge.com/minecraft/mc-mods/patchouli/files -curseforge_patchouli=306770:4636277 +curseforge_patchouli=306770:5240286 # ------------------------------------------------ \ No newline at end of file diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index 35c3756..b6901b0 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -1,5 +1,5 @@ modLoader = "javafml" -loaderVersion = "[48,)" +loaderVersion = "[49,)" license = "GNU General Public License v3.0" issueTrackerURL = "https://github.com/GrowthcraftCE/Growthcraft-Trapper/issues" @@ -21,17 +21,9 @@ versionRange = "${forge_version_range}" ordering = "NONE" side = "BOTH" -[[dependencies.${mod_id}]] +[[dependencies.${ mod_id }]] modId = "minecraft" mandatory = true versionRange = "${minecraft_version_range}" ordering = "NONE" side = "BOTH" - -[[dependencies.${mod_id}]] -modId = "growthcraft" -mandatory = false -versionRange = "[1.20.2,)" -ordering = "AFTER" -side = "BOTH" -