Skip to content

Commit ac4f942

Browse files
committed
Update to 1.21
1 parent c975df2 commit ac4f942

File tree

11 files changed

+346
-379
lines changed

11 files changed

+346
-379
lines changed

README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,10 @@
33
# Quickskin
44

55
Minecraft Fabric mod for flipping hand position and toggling skin parts using a keybind.
6-
**NOTE:** On some servers with a custom protocol implementations or plugins this might not work or be delayed (e.g. Hypixel takes a long time to update the skin settings)
76

87
![GIF](screenshot1.gif)
98
![Screenshot](screenshot0.jpg)
109

11-
## Instalation
12-
Go to [the Releases tab](https://github.com/Ryhon0/quickskin/releases) and download the `.jar` file. Make sure you have Fabric and Fabric API installed and put the `.jar` file into the `.minecraft/mods` directory.
13-
If there's no release for your version, you have to build it yourself.
14-
15-
Alternativelly you can build it yourself.
16-
Clone the repository, run `./gradlew publishToMavenLocal` to generate a `.jar` file. The `.jar` file will be located in `./build/libs/`. Copy that file to your `.minecraft/mods` folder.
17-
Make sure you're using JDK 17 because 19 doesn't work, apparently 🤓.
18-
19-
This mod was made for Minecraft 1.16.1, if you want it for a different version of Minecraft, fill out the [gradle.properties](gradle.properties) file with information from [here](https://modmuss50.me/fabric.html).
20-
21-
Feel free to fork this project and add new features.
22-
2310
## Licenses
2411
[GPL-3.0 License](LICENSE)
2512
[Key icon by Dream Mix](https://dreammix.itch.io/keyboard-keys-for-ui)

build.gradle

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
plugins {
2-
id 'fabric-loom' version '1.0-SNAPSHOT'
2+
id 'fabric-loom' version '1.6-SNAPSHOT'
33
id 'maven-publish'
44
}
55

6-
sourceCompatibility = JavaVersion.VERSION_17
7-
targetCompatibility = JavaVersion.VERSION_17
8-
9-
archivesBaseName = project.archives_base_name
106
version = project.mod_version
117
group = project.maven_group
128

9+
base {
10+
archivesName = project.archives_base_name
11+
}
12+
1313
repositories {
1414
// Add repositories to retrieve artifacts from in here.
1515
// You should only use this when depending on other mods because
@@ -26,11 +26,7 @@ dependencies {
2626

2727
// Fabric API. This is technically optional, but you probably want it anyway.
2828
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
29-
30-
// Uncomment the following line to enable the deprecated Fabric API modules.
31-
// These are included in the Fabric API production distribution and allow you to update your mod to the latest modules at a later more convenient time.
32-
33-
// modImplementation "net.fabricmc.fabric-api:fabric-api-deprecated:${project.fabric_version}"
29+
3430
}
3531

3632
processResources {
@@ -42,27 +38,30 @@ processResources {
4238
}
4339

4440
tasks.withType(JavaCompile).configureEach {
45-
// Minecraft 1.18 (1.18-pre2) upwards uses Java 17.
46-
it.options.release = 17
41+
it.options.release = 21
4742
}
4843

4944
java {
5045
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
5146
// if it is present.
5247
// If you remove this line, sources will not be generated.
5348
withSourcesJar()
49+
50+
sourceCompatibility = JavaVersion.VERSION_21
51+
targetCompatibility = JavaVersion.VERSION_21
5452
}
5553

5654
jar {
5755
from("LICENSE") {
58-
rename { "${it}_${project.archivesBaseName}"}
56+
rename { "${it}_${project.base.archivesName.get()}"}
5957
}
6058
}
6159

6260
// configure the maven publication
6361
publishing {
6462
publications {
65-
mavenJava(MavenPublication) {
63+
create("mavenJava", MavenPublication) {
64+
artifactId = project.archives_base_name
6665
from components.java
6766
}
6867
}

gradle.bat

Lines changed: 0 additions & 89 deletions
This file was deleted.

gradle.properties

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
# Done to increase the memory available to gradle.
22
org.gradle.jvmargs=-Xmx1G
3+
org.gradle.parallel=true
34

45
# Fabric Properties
5-
# Update using this https://fabricmc.net/develop/
6-
minecraft_version=1.20.2
7-
yarn_mappings=1.20.2+build.2
8-
loader_version=0.14.22
9-
fabric_version=0.89.3+1.20.2
6+
# check these on https://fabricmc.net/develop
7+
minecraft_version=1.21
8+
yarn_mappings=1.21+build.1
9+
loader_version=0.15.11
1010

1111
# Mod Properties
12-
mod_version = 1.2.2
13-
maven_group = link.ryhn
14-
archives_base_name = fabric-quickskin-mod-1.20.2
12+
mod_version=2.0.0
13+
maven_group=xyz.ryhon.quickskin
14+
archives_base_name=quickskin
15+
16+
# Dependencies
17+
fabric_version=0.100.1+1.21

gradle/wrapper/gradle-wrapper.jar

-16 KB
Binary file not shown.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)