Skip to content

Commit ce66c51

Browse files
committed
Merge remote-tracking branch 'concealed/mc1.20.1/fabric/feature-dev' into mc1.20.1/fabric/dev
# Conflicts: # .editorconfig # src/generated/resources/.cache/08785d2602593b8339c92b292c17771037bbb1c3 # src/generated/resources/.cache/3f8e2bfad643b52631e6eb80098aea304497f9a9 # src/generated/resources/.cache/528ac2e8644db78e56272a28e1f653f416709616 # src/generated/resources/.cache/899d321c4524b581eebda1c204a82d1a56a5eaa0 # src/generated/resources/.cache/8ede8fad2f9d17f80679e3b4a06e7ce5921f134f # src/generated/resources/.cache/a76509380f1db986fe6ec9b45cfec8ecffb3c2ef
2 parents f452cf5 + 865c2b4 commit ce66c51

File tree

4,224 files changed

+104240
-76826
lines changed

Some content is hidden

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

4,224 files changed

+104240
-76826
lines changed

.editorconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# http://editorconfig.org
2-
root = true
2+
#root = true
33

44
[*]
55
indent_style = space
@@ -25,5 +25,5 @@ ij_java_blank_lines_before_method_body = 0
2525
ij_java_else_on_new_line = false
2626
ij_java_class_count_to_use_import_on_demand = 999
2727
ij_java_names_count_to_use_import_on_demand = 999
28-
ij_java_imports_layout = $*,|,io.github.fabricators_of_create.**,net.fabricmc.**,|,java.**,|,javax.**,|,org.**,|,com.**,|,*
29-
ij_java_insert_inner_class_imports = true
28+
ij_java_imports_layout = $*,|,java.**,|,javax.**,|,org.**,|,com.**,|,*,|,net.fabricmc.**,|,io.github.fabricators_of_create.**
29+
ij_java_insert_inner_class_imports = true

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 31 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,37 @@ name: I found a bug!
22
description: "Report some other kind of issue. You should ask in the Discord first to make sure it's actually a bug with Create."
33
labels: [ "type: bug", "status: needs testing" ]
44
body:
5-
- type: textarea
6-
attributes:
7-
label: Description
8-
description: "
9-
Please describe the issue with as much detail as possible.
10-
Explain what happened, and what should have happened instead.
11-
Add images, screenshots, or videos if they could be useful."
12-
validations:
13-
required: true
5+
- type: textarea
6+
attributes:
7+
label: Description
8+
description: >
9+
Please describe the issue with as much detail as possible.
10+
Explain what happened, and what should have happened instead.
11+
Add images, screenshots, or videos if they could be useful.
12+
validations:
13+
required: true
1414

15-
- type: input
16-
attributes:
17-
label: Game Log
18-
description: "
19-
We need the game log for additional information about the bug.
20-
This file can be found in the \"logs\" folder of your Minecraft folder as \"latest.log\".
21-
Please upload the file to https://mclo.gs/ and put the link here.
22-
Do **not** paste the *contents* of the file here, because that will make this issue very hard to read.
23-
"
24-
validations:
25-
required: true
15+
- type: input
16+
attributes:
17+
label: Game Log
18+
description: >
19+
We need the game log for additional information about the bug.
20+
This file can be found in the \"logs\" folder of your Minecraft folder as \"latest.log\".
21+
Please upload the file to https://mclo.gs/ and put the link here.
22+
Do **not** paste the *contents* of the file here, because that will make this issue very hard to read.
23+
validations:
24+
required: true
2625

27-
- type: textarea
28-
attributes:
29-
label: Debug Information
30-
description: "
31-
Please run the \"/create debuginfo\" command in-game.
32-
This will copy useful information to your clipboard that will greatly help with debugging.
33-
Please paste this information here.
34-
If this command does not exist, you can skip this part.
35-
"
36-
validations:
37-
required: false
26+
- type: textarea
27+
attributes:
28+
label: Debug Information
29+
description: >
30+
Please run the \"/create debuginfo\" command in-game.
31+
This will copy useful information to your clipboard that will greatly help with debugging.
32+
Please paste this information here.
33+
validations:
34+
required: true
3835

39-
- type: markdown
40-
attributes:
41-
value: "Thank you for taking the time to make a report and help improve Create!"
36+
- type: markdown
37+
attributes:
38+
value: "Thank you for taking the time to make a report and help improve Create!"

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
blank_issues_enabled: true
22
contact_links:
3-
- name: I have a question!
4-
url: https://discord.gg/hmaD7Se
5-
about: Join us on Discord and ask the community.
6-
- name: I have a suggestion or idea!
7-
url: https://discord.gg/hmaD7Se
8-
about: These are best discussed with the community and submitted on Discord.
9-
- name: Talk to us on Discord.
10-
url: https://discord.gg/hmaD7Se
11-
about: Ask questions and get help from the community.
3+
- name: I have a question!
4+
url: https://discord.gg/hmaD7Se
5+
about: Join us on Discord and ask the community.
6+
- name: I have a suggestion or idea!
7+
url: https://discord.gg/hmaD7Se
8+
about: These are best discussed with the community and submitted on Discord.
9+
- name: Talk to us on Discord.
10+
url: https://discord.gg/hmaD7Se
11+
about: Ask questions and get help from the community.

.github/ISSUE_TEMPLATE/crash.yml

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,25 @@ name: My game crashed!
22
description: Report an issue that crashes the game.
33
labels: [ "type: crash" ]
44
body:
5-
- type: textarea
6-
attributes:
7-
label: Context
8-
description: What were you doing when the game crashed? Add images, screenshots, or videos if they could be useful.
9-
validations:
10-
required: true
5+
- type: textarea
6+
attributes:
7+
label: Context
8+
description: What were you doing when the game crashed? Add images, screenshots, or videos if they could be useful.
9+
validations:
10+
required: true
1111

12-
- type: input
13-
attributes:
14-
label: Crash Report
15-
description: "
16-
We need the crash report to figure out why the crash happened.
17-
This file can be found in the \"crash-reports\" folder of your Minecraft folder.
18-
It will be the newest file there.
19-
Please upload the file to https://mclo.gs/ and put the link here.
20-
Do **not** paste the *contents* of the file here, because that will make this issue very hard to read.
21-
"
22-
validations:
23-
required: true
12+
- type: input
13+
attributes:
14+
label: Crash Report
15+
description: >
16+
We need the crash report to figure out why the crash happened.
17+
This file can be found in the \"crash-reports\" folder of your Minecraft folder.
18+
It will be the newest file there.
19+
Please upload the file to https://mclo.gs/ and put the link here.
20+
Do **not** paste the *contents* of the file here, because that will make this issue very hard to read.
21+
validations:
22+
required: true
2423

25-
- type: markdown
26-
attributes:
27-
value: "Thank you for taking the time to make a report and help improve Create!"
24+
- type: markdown
25+
attributes:
26+
value: "Thank you for taking the time to make a report and help improve Create!"

.github/config/label-actions.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -3,53 +3,53 @@
33
# ----------------------------------- ISSUES ----------------------------------- #
44

55
'env: fabric':
6-
issues:
7-
close: true
8-
close-reason: 'not planned'
9-
comment: >
10-
**Fabric Loader**: This issue tracker is only for the Forge/NeoForge versions of Create. Since you mentioned using Fabric Loader, please reopen this issue on the [Create Fabric issue tracker](https://github.com/Fabricators-of-Create/Create/issues). Thanks!
6+
issues:
7+
close: true
8+
close-reason: 'not planned'
9+
comment: >
10+
**Fabric Loader**: This issue tracker is only for the Forge/NeoForge versions of Create. Since you mentioned using Fabric Loader, please reopen this issue on the [Create Fabric issue tracker](https://github.com/Fabricators-of-Create/Create/issues). Thanks!
1111
1212
'env: hybrid server':
13-
issues:
14-
close: true
15-
close-reason: 'not planned'
16-
comment: >
17-
**Hybrid Server Software**: Create cannot reasonably support hybrid server software, such as [MohistMC](https://mohistmc.com/), as their changes under the hood make it difficult for larger mods to function properly. If you encounter this issue on official Forge/NeoForge server software, feel free to open a new issue. Otherwise, consider reporting this issue to the hybrid server software you are using. Thanks!
13+
issues:
14+
close: true
15+
close-reason: 'not planned'
16+
comment: >
17+
**Hybrid Server Software**: Create cannot reasonably support hybrid server software, such as [MohistMC](https://mohistmc.com/), as their changes under the hood make it difficult for larger mods to function properly. If you encounter this issue on official Forge/NeoForge server software, feel free to open a new issue. Otherwise, consider reporting this issue to the hybrid server software you are using. Thanks!
1818
1919
'env: outdated create version':
20-
issues:
21-
close: true
22-
close-reason: 'not planned'
23-
comment: >
24-
**Outdated Create Version**: Since you are using an outdated Create version, please update to the latest version as it may resolve your issue. If this issue persists after updating Create, feel free to open a new issue. Thanks!
20+
issues:
21+
close: true
22+
close-reason: 'not planned'
23+
comment: >
24+
**Outdated Create Version**: Since you are using an outdated Create version, please update to the latest version as it may resolve your issue. If this issue persists after updating Create, feel free to open a new issue. Thanks!
2525
2626
'env: pojav':
27-
issues:
28-
close: true
29-
close-reason: 'not planned'
30-
comment: >
31-
**Pojav**: Create does not support Pojav or other mobile launchers due to rendering limitations. If you encounter this issue on a PC, feel free to open a new issue. Thanks!
27+
issues:
28+
close: true
29+
close-reason: 'not planned'
30+
comment: >
31+
**Pojav**: Create does not support Pojav or other mobile launchers due to rendering limitations. If you encounter this issue on a PC, feel free to open a new issue. Thanks!
3232
3333
'env: unsupported minecraft version':
34-
issues:
35-
close: true
36-
close-reason: 'not planned'
37-
comment: >
38-
**Unsupported Minecraft Version**: Unsupported Minecraft versions no longer receive Create updates. Please check the [supported Minecraft versions](https://github.com/Creators-of-Create/Create/wiki/dev.status). If you encounter this issue on a supported Minecraft version, feel free to open a new issue. Thanks!
34+
issues:
35+
close: true
36+
close-reason: 'not planned'
37+
comment: >
38+
**Unsupported Minecraft Version**: Unsupported Minecraft versions no longer receive Create updates. Please check the [supported Minecraft versions](https://github.com/Creators-of-Create/Create/wiki/dev.status). If you encounter this issue on a supported Minecraft version, feel free to open a new issue. Thanks!
3939
4040
# ----------------------------------- PULL REQUESTS ----------------------------------- #
4141

4242
'pr status: conflicts':
43-
prs:
44-
comment: >
45-
@{issue-author}, this pull request has merge conflicts with the target branch. Please merge the latest changes and leave a message here so we can continue with the process of reviewing and merging this pull request. Thanks!
43+
prs:
44+
comment: >
45+
@{issue-author}, this pull request has merge conflicts with the target branch. Please merge the latest changes and leave a message here so we can continue with the process of reviewing and merging this pull request. Thanks!
4646
4747
'pr status: waiting for author':
48-
prs:
49-
comment: >
50-
@{issue-author}, a developer has left a review and requested changes. Please make the requested changes or further discuss them with the developer so this pull request can be merged. Thanks!
48+
prs:
49+
comment: >
50+
@{issue-author}, a developer has left a review and requested changes. Please make the requested changes or further discuss them with the developer so this pull request can be merged. Thanks!
5151
5252
'pr status: wrong target':
53-
prs:
54-
comment: >
55-
@{issue-author}, this pull request is targeting the wrong branch. Pull requests should target the branch corresponding to the earliest supported Minecraft version unless the changes are specific to code that only exists for a newer Minecraft version. Please change the target branch, resolve any merge conflicts, and leave a message here so we can continue with the process of reviewing and merging this pull request. Thanks!
53+
prs:
54+
comment: >
55+
@{issue-author}, this pull request is targeting the wrong branch. Pull requests should target the branch corresponding to the earliest supported Minecraft version unless the changes are specific to code that only exists for a newer Minecraft version. Please change the target branch, resolve any merge conflicts, and leave a message here so we can continue with the process of reviewing and merging this pull request. Thanks!

.github/workflows/build.yml

Lines changed: 49 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,53 @@
11
name: Build
22
on:
3-
push:
4-
pull_request:
5-
workflow_dispatch:
6-
inputs:
7-
publish:
8-
description: Publish to Modrinth and CurseForge
9-
required: true
10-
default: "false"
11-
patch:
12-
description: Patch number, 0 for first (ex. Create 1.19.2 v0.5.0.g Patch N)
13-
required: true
3+
push:
4+
pull_request:
5+
workflow_dispatch:
6+
inputs:
7+
release:
8+
description: Is this a release build?
9+
type: boolean
10+
required: true
11+
default: false
1412

1513
jobs:
16-
build:
17-
runs-on: ubuntu-latest
18-
env:
19-
PUBLISH_SUFFIX: snapshots
20-
MAVEN_USER: ${{ secrets.MAVEN_USER }}
21-
MAVEN_PASS: ${{ secrets.MAVEN_PASS }}
22-
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
23-
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
24-
PATCH_NUMBER: ${{ github.event.inputs.patch }}
25-
PUBLISHING: ${{ github.event.inputs.publish }}
26-
steps:
27-
- name: Checkout Repository
28-
uses: actions/checkout@v4
29-
30-
- name: Setup Java
31-
run: echo "JAVA_HOME=$JAVA_HOME_17_X64" >> "$GITHUB_ENV"
32-
33-
- name: Loom Cache
34-
uses: actions/cache@v4
35-
with:
36-
path: "**/.gradle/loom-cache"
37-
key: "${{ runner.os }}-gradle-${{ hashFiles('**/libs.versions.*', '**/*.gradle*', '**/gradle-wrapper.properties') }}"
38-
restore-keys: "${{ runner.os }}-gradle-"
39-
40-
- name: Setup Gradle
41-
uses: gradle/actions/setup-gradle@v4
42-
with:
43-
gradle-home-cache-cleanup: true
44-
45-
- name: Validate Gradle Wrapper Integrity
46-
uses: gradle/wrapper-validation-action@v2
47-
48-
- name: Run Gametests
49-
run: ./gradlew runGametestServer --no-daemon
50-
51-
- name: Build and/or Publish
52-
run: ./gradlew buildOrPublish
53-
54-
- name: Capture build artifacts
55-
uses: actions/upload-artifact@v4
56-
with:
57-
name: Artifacts
58-
path: build/libs/
59-
60-
- name: Publish to Modrinth and CurseForge
61-
if: ${{ github.event.inputs.publish }}
62-
run: ./gradlew publishMod
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout Repository
18+
uses: actions/checkout@v4
19+
20+
- name: Setup Java
21+
uses: actions/setup-java@v4
22+
with:
23+
distribution: "temurin"
24+
java-version: 17
25+
26+
- name: Setup Gradle
27+
uses: gradle/actions/setup-gradle@v4
28+
with:
29+
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
30+
31+
- name: Validate Gradle Wrapper Integrity
32+
uses: gradle/wrapper-validation-action@v2
33+
34+
- name: Build
35+
run: ./gradlew build
36+
37+
- name: Run Gametests
38+
run: ./gradlew runGametestServer
39+
40+
- name: Publish to Maven
41+
if: ${{ github.event.inputs.release }}
42+
run: >-
43+
./gradlew publishAllPublicationsToDevOsReleasesRepository
44+
-PdevOsReleasesUsername="${{ secrets.MAVEN_USER }}"
45+
-PdevOsReleasesPassword="${{ secrets.MAVEN_PASS }}"
46+
47+
# TODO: add back CF and MR publishing at some point
48+
49+
- name: Capture Build Artifacts
50+
uses: actions/upload-artifact@v4
51+
with:
52+
name: Artifacts
53+
path: build/libs/

.github/workflows/label-actions.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
name: "Label Actions"
1+
name: Label Actions
22
on:
3-
issues:
4-
types: [labeled, unlabeled]
5-
pull_request_target:
6-
types: [labeled, unlabeled]
3+
issues:
4+
types: [ labeled, unlabeled ]
5+
pull_request_target:
6+
types: [ labeled, unlabeled ]
77

88
permissions:
9-
contents: read
10-
issues: write
11-
pull-requests: write
12-
discussions: write
9+
contents: read
10+
issues: write
11+
pull-requests: write
12+
discussions: write
1313

1414
jobs:
15-
action:
16-
runs-on: ubuntu-latest
17-
steps:
18-
- uses: dessant/label-actions@102faf474a544be75fbaf4df54e73d3c515a0e65 # Depend on an exact commit
19-
with:
20-
github-token: ${{ secrets.GITHUB_TOKEN }}
21-
config-path: '.github/config/label-actions.yml'
15+
action:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: dessant/label-actions@102faf474a544be75fbaf4df54e73d3c515a0e65 # Depend on an exact commit
19+
with:
20+
github-token: ${{ secrets.GITHUB_TOKEN }}
21+
config-path: '.github/config/label-actions.yml'

0 commit comments

Comments
 (0)