Skip to content

Commit

Permalink
Update depends for minecraft 1.21.3
Browse files Browse the repository at this point in the history
  • Loading branch information
anweisen committed Nov 12, 2024
1 parent aaa622c commit 4b93f3d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 23 deletions.
35 changes: 18 additions & 17 deletions buildSrc/src/main/groovy/multiloader-common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,23 +78,24 @@ jar {
}

processResources {
var expandProps = ['version' : version,
'group' : project.group, //Else we target the task's group.
'minecraft_version' : minecraft_version,
'minecraft_version_range' : minecraft_version_range,
'fabric_version' : fabric_version,
'fabric_loader_version' : fabric_loader_version,
'mod_name' : mod_name,
'mod_author' : mod_author,
'mod_id' : mod_id,
'license' : license,
'description' : project.description,
'neoforge_version' : neoforge_version,
'neoforge_loader_version_range': neoforge_loader_version_range,
"forge_version" : forge_version,
"forge_loader_version_range" : forge_loader_version_range,
'credits' : credits,
'java_version' : java_version]
var expandProps = ['version' : version,
'group' : project.group, //Else we target the task's group.
'minecraft_version' : minecraft_version,
'minecraft_version_range' : minecraft_version_range,
'minecraft_version_range_fabric' : minecraft_version_range_fabric,
'fabric_version' : fabric_version,
'fabric_loader_version' : fabric_loader_version,
'mod_name' : mod_name,
'mod_author' : mod_author,
'mod_id' : mod_id,
'license' : license,
'description' : project.description,
'neoforge_version' : neoforge_version,
'neoforge_loader_version_range' : neoforge_loader_version_range,
"forge_version" : forge_version,
"forge_loader_version_range" : forge_loader_version_range,
'credits' : credits,
'java_version' : java_version]

filesMatching(['pack.mcmeta', 'fabric.mod.json', 'META-INF/mods.toml', 'META-INF/neoforge.mods.toml', '*.mixins.json']) {
expand expandProps
Expand Down
2 changes: 1 addition & 1 deletion fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"depends": {
"fabricloader": ">=${fabric_loader_version}",
"fabric-api": "*",
"minecraft": "${minecraft_version}",
"minecraft": "${minecraft_version_range_fabric}",
"java": ">=${java_version}"
},
"suggests": {
Expand Down
11 changes: 6 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,27 @@ version=1.1
group=net.anweisen
java_version=21
# Common
minecraft_version=1.21
minecraft_version=1.21.3
mod_name=NotEnoughPots
mod_author=anweisen
mod_id=notenoughpots
license=All-Rights-Reserved
credits=
description=Put all your crops into flower pots
minecraft_version_range=[1.21, 1.22)
minecraft_version_range_fabric=1.21.x
neo_form_version=1.21-20240613.152323
# The version of ParchmentMC that is used, see https://parchmentmc.org/docs/getting-started#choose-a-version for new versions
parchment_minecraft=1.21
parchment_version=2024.06.23
# Fabric
fabric_version=0.100.1+1.21
fabric_loader_version=0.15.11
fabric_version=0.107.0+1.21.3
fabric_loader_version=0.16.9
# Forge
forge_version=51.0.17
forge_version=53.0.7
forge_loader_version_range=[51,)
# NeoForge
neoforge_version=21.0.37-beta
neoforge_version=21.0.39-beta
neoforge_loader_version_range=[4,)
# Gradle
org.gradle.jvmargs=-Xmx3G
Expand Down

0 comments on commit 4b93f3d

Please sign in to comment.