From efbe53492e072d63b239d892889752b31185fdb7 Mon Sep 17 00:00:00 2001 From: Eivind Norling Date: Thu, 20 Jul 2023 18:33:24 +0200 Subject: [PATCH] Update constants for easier usage --- build.gradle | 4 ++-- gradle.properties | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 09919ee..e027ba3 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ plugins { id 'eclipse' id 'idea' id 'maven-publish' - id 'net.minecraftforge.gradle' version '[6.0.12,6.2)' + id 'net.neoforged.gradle' version '[6.0.18,6.2)' } version = mod_version @@ -157,7 +157,7 @@ tasks.named('processResources', ProcessResources).configure { forge_version: forge_version, forge_version_range: forge_version_range, loader_version_range: loader_version_range, mod_id: mod_id, mod_name: mod_name, mod_license: mod_license, mod_version: mod_version, - mod_authors: mod_authors, mod_description: mod_description, pack_version_number: pack_version, + mod_authors: mod_authors, mod_description: mod_description, pack_format_number: pack_format_number, ] inputs.properties replaceProperties diff --git a/gradle.properties b/gradle.properties index a4e0434..3759557 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,7 +13,7 @@ minecraft_version=1.20.1 # as they do not follow standard versioning conventions. minecraft_version_range=[1.20,1.21) # The Forge version must agree with the Minecraft version to get a valid artifact -forge_version=47.1.7 +forge_version=47.1.25 # The Forge version range can use any version of Forge as bounds or match the loader version range forge_version_range=[47.1,) # The loader version range can only use the major version of Forge/FML as bounds @@ -58,4 +58,4 @@ mod_authors=YourNameHere, OtherNameHere # The description of the mod. This is a simple multiline text string that is used for display purposes in the mod list. mod_description=Example mod description.\nNewline characters can be used and will be replaced properly. # Pack version - this changes each minecraft release, in general. -pack_version_number=15 +pack_format_number=15