Skip to content

Commit

Permalink
Update mod to Minecraft 1.21 (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
haykam821 authored Nov 5, 2024
1 parent 9bff8be commit f87a69e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
9 changes: 4 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.6.+'
id 'fabric-loom' version '1.7.+'
id "com.modrinth.minotaur" version "2.+"
}
import com.modrinth.minotaur.TaskModrinthUpload
Expand All @@ -12,7 +12,6 @@ repositories {
maven { url = "https://maven.nucleoid.xyz" }
maven { url = "https://maven.gegy.dev/" }
maven { url = "https://jitpack.io" }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}

dependencies {
Expand All @@ -22,10 +21,10 @@ dependencies {

modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"

modImplementation include('xyz.nucleoid:stimuli:0.4.11+1.20.6')
modImplementation include('xyz.nucleoid:stimuli:0.4.12+1.21')

modCompileOnly "dev.gegy:player-roles-api:1.6.8"
modCompileOnly "me.lucko:fabric-permissions-api:0.2-SNAPSHOT"
modCompileOnly "dev.gegy:player-roles-api:1.6.11"
modCompileOnly "me.lucko:fabric-permissions-api:0.3.1"
}

processResources {
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Done to increase the memory available to gradle.
org.gradle.jvmargs=-Xmx1G

minecraft_version=1.20.6
yarn_mappings=1.20.6+build.1
minecraft_version=1.21
yarn_mappings=1.21+build.2
loader_version=0.15.11

#Dependencies
fabric_version=0.98.0+1.20.6
fabric_version=0.100.3+1.21

# Mod Properties
mod_version=0.3.8
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"depends": {
"fabricloader": ">=0.12",
"fabric": "*",
"minecraft": ">=1.20.5-",
"minecraft": ">=1.21-",
"stimuli": ">=0.4.3",
"java": ">=21"
}
Expand Down

0 comments on commit f87a69e

Please sign in to comment.