-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added support for Minecraft 1.20.6 & 1.21 (also Java 21) * Dropped Russian translation due to it is outdated (PR is welcomed) Technical Changes: - Optimized code (with some reverts) - Upgraded Gradle to 8.8; Upgraded dependencies - Supported Actions Workflow Notice: This version hasn't been tested yet, the stable version will be released on Modrinth after testing.
- Loading branch information
Showing
30 changed files
with
236 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Build Mod | ||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Validate Gradle Wrapper | ||
uses: gradle/actions/wrapper-validation@v3 | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 21 | ||
distribution: temurin | ||
cache: gradle | ||
|
||
- name: Build Now | ||
run: | | ||
chmod +x gradlew | ||
./gradlew build | ||
- name: Find Output Jar | ||
id: findjar | ||
run: | | ||
output="$(find fabricWrapper/build/libs/ ! -name "*-dev.jar" ! -name "*-sources.jar" -type f -printf "%f\n")" | ||
echo "jarname=$output" >> $GITHUB_OUTPUT | ||
- name: Upload Jar | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ steps.findjar.outputs.jarname }} | ||
path: fabricWrapper/build/libs/*.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,4 +26,6 @@ bin/ | |
.project | ||
|
||
# fabric | ||
run/ | ||
|
||
run/ | ||
/versions/**/src/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,36 @@ | ||
# Show My Skin Parts | ||
A simple mod for Minecraft 1.19.4 & 1.20.4 (Other versions are not tested). | ||
|
||
A simple mod for Minecraft 1.19.4, 1.20.4/6 & 1.21 (Other versions are not tested). | ||
The configure screen requires `Cloth Config` and `Mod Menu` to open (or you can edit the configuration file manually). | ||
|
||
### Why use it and What does it do? | ||
For some reason, some minecraft servers (especially 1.19.3) won't send you your skin parts if you enter another dimension, | ||
and it makes your skin looks **ugly**. | ||
### Why use it and What does it do? | ||
|
||
For some reason, some minecraft servers (especially 1.19.3) won't send you your skin parts if you enter another | ||
dimension, | ||
and it makes your skin looks **ugly**. | ||
|
||
With this mod, your skin parts will always be shown (Following the client's skin options). | ||
And it will automatically "refresh" your skin parts in order to enable your skin parts to be seen to others (It's configurable). | ||
If other players still cannot see your skin parts, you can simply press `N` to refresh your skin parts manually. | ||
With this mod, your skin layers will always be shown (Following the client's skin options). | ||
And it will automatically resend your client's options in order to enable your skin layers to be seen to others (Configurable). | ||
If other players still cannot see your skin layers, you can simply press `N` to refresh your skin parts manually. | ||
|
||
### Notice | ||
This mod doesn't seem work well with 3d-Skin-Layers, so please disable it first and try again before reporting bugs if it's installed. | ||
|
||
This mod doesn't seem work well with 3d-Skin-Layers, so please disable it first and try again before reporting bugs if | ||
it's installed. | ||
|
||
### Compiling | ||
|
||
To compile on *nix operating systems, run: | ||
|
||
```shell | ||
chmod +x gradlew | ||
./gradlew build | ||
``` | ||
|
||
For Windows, run: | ||
|
||
```batch | ||
gradlew build | ||
``` | ||
|
||
Then, the mod jar file will be located at `fabricWrapper/build/libs/ShowMySkinParts-{VERSION}-all.jar`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.6-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 5 additions & 7 deletions
12
src/main/java/cn/xiaym/spr/SkinPRMain.java → src/main/java/cn/xiaym/skin/Main.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.