Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to 1.20.2 #137

Closed
wants to merge 53 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
f4b7e42
Update to loom 1.3 and use Mod Publish Plugin (#3158)
modmuss50 Aug 2, 2023
86b1264
23w31a
modmuss50 Aug 7, 2023
0b2eb40
[1.20.2] Support common registration packets. Add configuration task …
modmuss50 Aug 9, 2023
0ba8e9c
23w32a
modmuss50 Aug 9, 2023
a336222
Fix publishMods dryRun
modmuss50 Aug 9, 2023
09816d0
Fix createAndPopulateRegistryMap() always returning null, preventing …
modmuss50 Aug 11, 2023
96274c1
Fix #3255 (#3257)
modmuss50 Aug 13, 2023
db99c88
Make deprecated modules opt-out instead of opt-in (#3246)
modmuss50 Aug 13, 2023
b122995
Make DFU error-tolerant to mod custom generator types (#3213)
qouteall Aug 13, 2023
736900a
Improve Indigo and FRAPI Test Mod (#3208)
PepperCode1 Aug 13, 2023
11da534
Bump version
modmuss50 Aug 13, 2023
839aeb4
Misc networking API cleanup + fixes (#3265)
modmuss50 Aug 17, 2023
f091af9
23w33a
modmuss50 Aug 17, 2023
017b9d9
Networking API javadoc fixes and small refactors (#3285)
apple502j Aug 30, 2023
fce67b3
23w35a (#3292)
modmuss50 Aug 31, 2023
0287208
Update mod publish plugin.
modmuss50 Aug 31, 2023
ceabd76
Mark `SidedStorageBlockEntity`'s side as nullable (#3281)
deirn Sep 3, 2023
73761d2
BlockView API v2 (#3268)
PepperCode1 Sep 3, 2023
22fb02c
Bump version
modmuss50 Sep 3, 2023
b680c0d
Implement RenderAttachedBlockView on ChunkRendererRegion (#3300)
PepperCode1 Sep 3, 2023
462ea84
Bump version
modmuss50 Sep 3, 2023
4351121
1.20.2-pre1
modmuss50 Sep 5, 2023
34a3e0e
Include namespace in modded registry tag path (#3303)
apple502j Sep 7, 2023
3bafade
1.20.2-pre2
modmuss50 Sep 7, 2023
109a65e
1.20.2-pre4
modmuss50 Sep 13, 2023
daef22a
1.20.2-rc1
modmuss50 Sep 15, 2023
5c13385
1.20.2-rc2
modmuss50 Sep 18, 2023
bbae80f
Add a method to data generator entrypoints to register custom keys wi…
ErrorCraft Sep 18, 2023
bbfadae
Fix Random mismatch between vanilla and FRAPI baked models (weighted …
Technici4n Sep 18, 2023
2034447
FRAPI improvements: context getters, full removal of fallback consume…
Technici4n Sep 18, 2023
69e331e
Fix unhandled packets disconnecting the client. (#3324)
modmuss50 Sep 18, 2023
0708114
Bump version
modmuss50 Sep 18, 2023
219ee51
Support trade rebalance experiment (#3311)
apple502j Sep 21, 2023
b1b4f7b
Handle null being passed as the datafix type to PersistentState.Type …
modmuss50 Sep 21, 2023
8fe4516
1.20.2
modmuss50 Sep 21, 2023
b1913a6
Bump version
modmuss50 Sep 21, 2023
74a33ae
Fix ClientConfigurationNetworkAddon.handleReady() being called too la…
modmuss50 Sep 23, 2023
3ccb77f
Bump version
modmuss50 Sep 23, 2023
7468709
Update link to Minecraft Wiki (#3336)
lunaynx Oct 1, 2023
6f59c18
Update to loom 1.4 (#3341)
modmuss50 Oct 1, 2023
e982ae8
Fix Message API javadoc (#3342)
apple502j Oct 1, 2023
9650955
Document the getCodec method (#3343)
apple502j Oct 1, 2023
285022b
Content Registries: javadoc and small refactor (#3347)
apple502j Oct 1, 2023
d9a2869
Biome API: javadoc fixes (#3348)
apple502j Oct 1, 2023
b18afef
Fix incorrect internal method names in ServerNetworkingImpl (#3349)
modmuss50 Oct 1, 2023
d19c412
Fix bad interaction between `FabricDynamicRegistryProvider` and modde…
Technici4n Oct 1, 2023
670b2ea
Bump version
modmuss50 Oct 1, 2023
e3d2bf3
Make some experimental APIs stable. (#3354)
modmuss50 Oct 8, 2023
3ba460f
Add LootTableEvents.LOADED event (#3352)
LLytho Oct 8, 2023
661cc8c
Fix inconsistency of placed feature locations (#3369)
apple502j Oct 8, 2023
1fbc78f
Bump version
modmuss50 Oct 8, 2023
4aa0de6
Initial merge of 1.20.2
TheGlitch76 Oct 15, 2023
94ce4d8
Significant work on networking API
TheGlitch76 Nov 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
113 changes: 58 additions & 55 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ jobs:
build:
strategy:
matrix:
java: [17, 20]
java: [17-ubuntu, 21-ubuntu]
runs-on: ubuntu-22.04
container:
image: mcr.microsoft.com/openjdk/jdk:${{ matrix.java }}
options: --user root
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/cache@v3
Expand All @@ -18,10 +21,6 @@ jobs:
key: ${{ runner.os }}-java-${{ matrix.java }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-java-${{ matrix.java }}-gradle-
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: ${{ matrix.java }}
- uses: gradle/wrapper-validation-action@v1
# TODO - Go back to "--warning-mode=fail"
- run: ./gradlew check build publishToMavenLocal --stacktrace --warning-mode=all -Porg.gradle.parallel.threads=4
Expand All @@ -30,63 +29,67 @@ jobs:
with:
reports: |
**/build/reports/checkstyle/*.xml
# TODO - Re-enable once issues with Quilt Loader are solved
# - run: mkdir run && echo "eula=true" >> run/eula.txt
# - run: ./gradlew runAutoTestServer --stacktrace --warning-mode=fail
- run: ./gradlew --stop
- uses: actions/upload-artifact@v3
with:
name: Artifacts
path: build/libs/
- uses: actions/upload-artifact@v3
with:
name: Artifacts
path: |
build/libs/
./*/build/libs/
- uses: actions/upload-artifact@v3
with:
name: Artifacts
path: build/publishMods/
- uses: actions/upload-artifact@v3
with:
name: Maven Local
path: /home/runner/.m2/repository
path: /root/.m2/repository

client_test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v3
with:
distribution: 'microsoft'
java-version: '17'
- name: Run Auto test Client
uses: modmuss50/xvfb-action@v1
with:
run: ./gradlew runProductionAutoTestClient --stacktrace --warning-mode=fail
- uses: actions/upload-artifact@v3
if: always()
with:
name: Test Screenshots
path: run/screenshots

#client_test:
# runs-on: ubuntu-22.04
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - uses: actions/setup-java@v3
# with:
# distribution: temurin
# java-version: 17
# - name: Run Auto test Client
# uses: modmuss50/xvfb-action@v1
# with:
# run: ./gradlew runProductionAutoTestClient --stacktrace --warning-mode=fail
# - uses: actions/upload-artifact@v3
# if: always()
# with:
# name: Test Screenshots
# path: run/screenshots
#
#server_test:
# runs-on: ubuntu-22.04
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - uses: actions/setup-java@v3
# with:
# distribution: temurin
# java-version: 17
# - run: mkdir run && echo "eula=true" >> run/eula.txt
# - run: ./gradlew runProductionAutoTestServer --stacktrace --warning-mode=fail
server_test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v3
with:
distribution: 'microsoft'
java-version: '17'
- run: mkdir run && echo "eula=true" >> run/eula.txt
- run: ./gradlew runProductionAutoTestServer --stacktrace --warning-mode=fail

# check_resources:
# runs-on: ubuntu-22.04
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - uses: actions/setup-java@v3
# with:
# distribution: temurin
# java-version: 17
# - run: ./gradlew generateResources --stacktrace --warning-mode=fail
# - run: if [ -n "$(git status --porcelain)" ]; then exit 1; fi
check_resources:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v3
with:
distribution: 'microsoft'
java-version: '17'
- run: ./gradlew generateResources --stacktrace --warning-mode=fail
- run: if [ -n "$(git status --porcelain)" ]; then exit 1; fi
15 changes: 8 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@ permissions:
jobs:
build:
runs-on: ubuntu-22.04
container:
image: mcr.microsoft.com/openjdk/jdk:21-ubuntu
options: --user root
steps:
- uses: actions/checkout@v3
- run: apt update && apt install git -y && git --version
- run: git config --global --add safe.directory /__w/fabric/fabric
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/cache@v3
Expand All @@ -19,22 +24,18 @@ jobs:
key: ${{ runner.os }}-java-17-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-java-17-gradle-
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 20
- uses: FabricMC/fabric-action-scripts@v2
id: changelog
with:
context: changelog
workflow_id: release.yml
- uses: gradle/wrapper-validation-action@v1
- run: ./gradlew publish curseforge github modrinth --stacktrace -Porg.gradle.parallel.threads=4
- run: ./gradlew build publish publishMods --stacktrace -Porg.gradle.parallel.threads=4
env:
MAVEN_URL: ${{ secrets.MAVEN_URL }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
CHANGELOG: ${{ steps.changelog.outputs.changelog }}
Loading
Loading