Skip to content

Commit 1eee7d0

Browse files
Merge branch 'master' into chat-rules-fixes
2 parents 6269f28 + 369fa09 commit 1eee7d0

File tree

1,469 files changed

+96241
-50705
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,469 files changed

+96241
-50705
lines changed

.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,16 @@ tab_width = 4
88

99
[*.gradle]
1010
indent_style = tab
11+
ij_continuation_indent_size = 8
1112

1213
[*.java]
1314
indent_style = tab
1415
max_line_length = off
1516
ij_continuation_indent_size = 8 # IntelliJ default
17+
# Imports
18+
ij_java_names_count_to_use_import_on_demand = 999
19+
ij_java_class_count_to_use_import_on_demand = 999
20+
ij_java_packages_to_use_import_on_demand = unset
1621
# Wrapping and Braces
1722
ij_java_keep_simple_blocks_in_one_line = true
1823
ij_java_keep_simple_classes_in_one_line = true

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
* text=auto eol=lf
2+
3+
# Requires crlf
4+
*.bat text eol=crlf
5+
*.cmd text eol=crlf
6+
*.csv text eol=crlf
7+
*.ps1 text eol=crlf

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,18 @@ body:
3535
label: Minecraft Version
3636
description: What version of Minecraft are you running? If you do not know what version you are using, look in the bottom left corner of the main menu in game.
3737
options:
38-
- "1.21.0/1.21.1"
39-
- "1.21.2/1.21.3"
40-
- "1.21.4"
38+
- "1.21.11"
39+
- "1.21.9/1.21.10"
40+
- "1.21.6-1.21.8"
41+
- "1.21.5"
4142
validations:
4243
required: true
4344
- type: input
4445
id: skyblocker-version
4546
attributes:
4647
label: Skyblocker Version
4748
description: What version of Skyblocker are you running? Every part is important! If you do not know what version you are using, look at the file name in your "mods" folder.
48-
placeholder: ex. skyblocker-5.0.0+1.21.4.jar
49+
placeholder: ex. skyblocker-5.0.0+1.21.11.jar
4950
validations:
5051
required: true
5152
- type: textarea

.github/ISSUE_TEMPLATE/crash_report.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,18 @@ body:
1616
label: Minecraft Version
1717
description: What version of Minecraft are you running? If you do not know what version you are using, look in the bottom left corner of the main menu in game.
1818
options:
19-
- "1.21.0/1.21.1"
20-
- "1.21.2/1.21.3"
21-
- "1.21.4"
19+
- "1.21.11"
20+
- "1.21.9/1.21.10"
21+
- "1.21.6-1.21.8"
22+
- "1.21.5"
2223
validations:
2324
required: true
2425
- type: input
2526
id: skyblocker-version
2627
attributes:
2728
label: Skyblocker Version
2829
description: What version of Skyblocker are you running? Every part is important! If you do not know what version you are using, look at the file name in your "mods" folder.
29-
placeholder: ex. skyblocker-5.0.0+1.21.4.jar
30+
placeholder: ex. skyblocker-5.0.0+1.21.11.jar
3031
validations:
3132
required: true
3233
- type: textarea

.github/workflows/beta.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
branches:
88
- master
99
- bleeding-edge
10+
- '**-backport'
1011
paths-ignore:
1112
- 'src/main/resources/assets/skyblocker/lang/**'
1213
- 'CHANGELOG.md'
@@ -62,9 +63,7 @@ jobs:
6263
java-version: '21'
6364

6465
- name: Setup Gradle
65-
uses: gradle/actions/setup-gradle@v3
66-
with:
67-
validate-wrappers: true
66+
uses: gradle/actions/setup-gradle@v4
6867
- name: Build with Gradle
6968
run: ./gradlew build
7069

@@ -104,9 +103,7 @@ jobs:
104103
distribution: 'microsoft'
105104
java-version: '21'
106105
- name: Setup Gradle
107-
uses: gradle/actions/setup-gradle@v3
108-
with:
109-
validate-wrappers: true
106+
uses: gradle/actions/setup-gradle@v4
110107

111108
- name: Run client gametest with Xvfb
112109
uses: modmuss50/xvfb-action@v1
@@ -117,4 +114,4 @@ jobs:
117114
if: always()
118115
with:
119116
name: Test Screenshots
120-
path: run/screenshots
117+
path: build/run/clientGameTest/screenshots

.github/workflows/buildrelease.yml

Lines changed: 18 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
1-
# This is a basic workflow to help you get started with Actions
2-
31
name: Build Release
42

5-
# Controls when the action will run. Triggers the workflow on push or pull request
6-
# events but only for the master branch
3+
# Controls when the action will run.
4+
# Releases should be created manually by running this workflow.
75
on:
8-
release:
9-
types: [created]
106
workflow_dispatch:
117

128
jobs:
13-
# This workflow contains a single job called "build"
149
build:
15-
# The type of runner that the job will run on
1610
runs-on: ubuntu-latest
17-
# Steps represent a sequence of tasks that will be executed as part of the job
1811
steps:
19-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2012
- uses: actions/checkout@v4
2113
- name: Set up JDK 21
2214
uses: actions/setup-java@v4
2315
with:
2416
distribution: 'microsoft'
2517
java-version: '21'
2618

27-
- name: Grant execute permission for gradlew
28-
run: chmod +x gradlew
29-
19+
- name: Setup Gradle
20+
uses: gradle/actions/setup-gradle@v4
3021
- name: Build with Gradle
3122
run: ./gradlew build
3223

24+
- name: Process artifacts
25+
uses: actions/github-script@v7
26+
id: fname
27+
with:
28+
result-encoding: string
29+
script: |
30+
const fs = require("fs")
31+
return fs.readdirSync("build/libs/").filter(e => !e.endsWith("dev.jar") && !e.endsWith("sources.jar") && e.endsWith(".jar"))[0].replace(".jar", "");
32+
3333
- uses: actions/upload-artifact@v4
3434
with:
35-
name: Artifacts
35+
name: ${{ steps.fname.outputs.result }}
3636
path: build/libs/
3737

3838
- name: Read Changelog
@@ -70,26 +70,13 @@ jobs:
7070
echo "${delimiter}"
7171
} >> $GITHUB_OUTPUT
7272
73-
- uses: actions/github-script@v7
74-
id: fname
75-
with:
76-
result-encoding: string
77-
script: |
78-
const fs = require("fs")
79-
return fs.readdirSync("build/libs/").filter(e => !e.endsWith("dev.jar") && !e.endsWith("sources.jar") && e.endsWith(".jar"))[0]
80-
81-
- name: Release
82-
id: uploadrelease
83-
uses: softprops/action-gh-release@v1
84-
with:
85-
body: ${{ steps.read_changelog.outputs.changelog }}
86-
token: ${{ secrets.GH_RELEASE }}
87-
files: build/libs/${{ steps.fname.outputs.result }}
88-
8973
- name: Publish using mod-publish-plugin
9074
run: ./gradlew build publishMods
9175
env:
92-
CHANGELOG: ${{ steps.read_changelog.outputs.changelog_highlight }}
76+
CHANGELOG: ${{ steps.read_changelog.outputs.changelog }}
77+
CHANGELOG_HIGHLIGHT: ${{ steps.read_changelog.outputs.changelog_highlight }}
78+
REF_NAME: ${{ github.ref_name }}
79+
GITHUB_TOKEN: ${{ secrets.GH_RELEASE }}
9380
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
9481
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
9582
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}

.github/workflows/webhook_translate.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ jobs:
6363
fi
6464
fi
6565
66-
OUTPUT+="..."
67-
6866
OUTPUT="\`\`\`diff
6967
$OUTPUT
7068
\`\`\`"
@@ -90,4 +88,4 @@ jobs:
9088
else
9189
echo "Error:"
9290
echo "$JSON_PAYLOAD"
93-
fi
91+
fi

0 commit comments

Comments
 (0)