Update constants for easier usage
This commit is contained in:
parent
572a6977fd
commit
efbe53492e
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue