Skip to content

Commit

Permalink
fix bad mod file
Browse files Browse the repository at this point in the history
  • Loading branch information
eerussianguy committed Jul 18, 2023
1 parent 7cf5ccc commit 9e717b4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ java.toolchain.languageVersion = JavaLanguageVersion.of(17)

println "Java: ${System.getProperty 'java.version'}, JVM: ${System.getProperty 'java.vm.version'} (${System.getProperty 'java.vendor'}), Arch: ${System.getProperty 'os.arch'}"
minecraft {
mappings channel: 'official', version: '1.20'
mappings channel: 'official', version: '1.20.1'
runs {
client {
workingDirectory project.file('run')
Expand All @@ -38,7 +38,7 @@ minecraft {
sourceSets.main.resources { srcDir 'src/generated/resources' }

dependencies {
minecraft 'net.minecraftforge:forge:1.20-46.0.1'
minecraft 'net.minecraftforge:forge:1.20.1-47.1.0'

//runtimeOnly fg.deobf('bop:BiomesOPlenty-1.18.2:16.0.0.109-universal')
//runtimeOnly fg.deobf('tb:TerraBlender-forge-1.18.2:1.1.0.102')
Expand All @@ -58,7 +58,7 @@ jar {
"Specification-Vendor": "eerussianguy",
"Specification-Version": "1", // We are version 1 of ourselves
"Implementation-Title": project.name,
"Implementation-Version": "${project.jar.archiveVersion}",
"Implementation-Version": project.version,
"Implementation-Vendor" :"eerussianguy",
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
])
Expand All @@ -77,7 +77,7 @@ curseforge {
changelogType = "markdown"

releaseType = versionType
addGameVersion "1.20"
addGameVersion "1.20.1"

mainArtifact(jar) {
displayName = System.getenv('VERSION').toString().replace('v', '')
Expand Down
5 changes: 5 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
# This is required to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs=-Xmx4G
org.gradle.daemon=false
org.gradle.console=plain
4 changes: 2 additions & 2 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

modLoader="javafml" #mandatory
loaderVersion="[46,)"
loaderVersion="[47,)"
license="MIT License"
issueTrackerURL="https://github.com/eerussianguy/Better-Foliage/issues" #optional
[[mods]] #mandatory
Expand All @@ -20,7 +20,7 @@ Most changes are configurable via resource pack.
[[dependencies.betterfoliage]]
modId="minecraft"
mandatory=true
versionRange="[1.20, 1.21)"
versionRange="[1.20.1, 1.21)"
ordering="NONE"
side="BOTH"
[[dependencies.betterfoliage]]
Expand Down

0 comments on commit 9e717b4

Please sign in to comment.