Skip to content

Commit

Permalink
Merge pull request #10 from BlazingTwist/1.21.2
Browse files Browse the repository at this point in the history
1.21.2
  • Loading branch information
BlazingTwist authored Jan 1, 2025
2 parents 6fe269f + 2370b3f commit 1138b1e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 21 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Anti Tool Break

A Minecraft [Fabric](https://fabricmc.net/) mod stops you from breaking your tools.
Built for version 1.21.0
Built for version 1.21.2

[Curseforge release](https://www.curseforge.com/minecraft/mc-mods/anti-tool-break-fabric)

Expand Down
16 changes: 3 additions & 13 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.7-SNAPSHOT'
id 'fabric-loom' version '1.8-SNAPSHOT'
id 'maven-publish'
}

Expand Down Expand Up @@ -29,10 +29,10 @@ dependencies {
// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"

modImplementation("me.shedaniel.cloth:cloth-config-fabric:[15.0,16.0)") {
modImplementation("me.shedaniel.cloth:cloth-config-fabric:[16.0,17.0)") {
exclude(group: "net.fabricmc.fabric-api")
}
modImplementation("com.terraformersmc:modmenu:[11.0,12.0)") {
modImplementation("com.terraformersmc:modmenu:[12.0,13.0)") {
exclude group: "net.fabricmc.fabric-api"
}
}
Expand All @@ -50,13 +50,6 @@ tasks.withType(JavaCompile).configureEach {
it.options.release = 17
}

java {
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
// if it is present.
// If you remove this line, sources will not be generated.
withSourcesJar()
}

jar {
from("LICENSE") {
rename { "${it}_${project.archivesBaseName}"}
Expand All @@ -71,9 +64,6 @@ publishing {
artifact(remapJar) {
builtBy remapJar
}
artifact(sourcesJar) {
builtBy remapSourcesJar
}
}
}

Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ org.gradle.jvmargs=-Xmx1G

# Fabric Properties
# check these on https://fabricmc.net/versions.html
minecraft_version=1.21
yarn_mappings=1.21+build.2
loader_version=0.15.11
minecraft_version=1.21.2
yarn_mappings=1.21.2+build.1
loader_version=0.16.7

# Mod Properties
mod_version = 1.0.0
maven_group = blazingtwist
archives_base_name = antitoolbreak

# Dependencies
fabric_version=0.100.3+1.21
fabric_version=0.106.1+1.21.2
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
4 changes: 2 additions & 2 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
],

"depends": {
"fabricloader": ">=0.15.11",
"fabricloader": ">=0.16.7",
"fabric": "*",
"minecraft": "~1.21",
"minecraft": "~1.21.2",
"java": ">=17"
},
"suggests": {
Expand Down

0 comments on commit 1138b1e

Please sign in to comment.