Skip to content

Commit 7bb98d8

Browse files
committed
Merge branch '1.20.1' of https://github.com/iouter/GregTech-Modern into 1.20.1
2 parents 549fc11 + 8287f30 commit 7bb98d8

File tree

3,168 files changed

+90799
-21577
lines changed

Some content is hidden

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

3,168 files changed

+90799
-21577
lines changed

.editorconfig

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

.github/ISSUE_TEMPLATE/000-bug-report.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,21 @@ body:
1919
- label: "I have checked that this occurs on the latest version."
2020
required: true
2121
- type: input
22-
id: version
22+
id: gtceu-version
2323
attributes:
2424
label: GregTech CEu Version
2525
description: The version of Gregtech CEu you were using when this bug was encountered. If you do not know where to find this, look for the mod jar file in the mods folder, or in the mods viewer in-game.
2626
placeholder: "Example: v2.3.4"
2727
validations:
2828
required: true
29+
- type: input
30+
id: mc-version
31+
attributes:
32+
label: Minecraft Version
33+
description: The version of Minecraft you were using when this bug was encountered. If you do not know where to find this, in the main menu at the bottom left.
34+
placeholder: "Example: 1.20.1"
35+
validations:
36+
required: true
2937
- type: dropdown
3038
id: recipe-viewer
3139
attributes:
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Build Setup
2+
description: Setup for standard Java builds
3+
4+
inputs:
5+
update-cache:
6+
description: If cache should be updated
7+
required: false
8+
default: true
9+
10+
runs:
11+
using: 'composite'
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
submodules: true
17+
18+
- name: Set up JDK 17
19+
uses: actions/setup-java@v4
20+
with:
21+
distribution: adopt
22+
java-version: 17
23+
24+
- name: Validate Gradle wrapper
25+
uses: gradle/actions/wrapper-validation@v3
26+
27+
- name: Grant execute permission for gradlew
28+
shell: bash
29+
run: chmod +x gradlew
30+
31+
- name: Setup Gradle
32+
uses: gradle/actions/setup-gradle@v3
33+
with:
34+
cache-write-only: ${{ inputs.update-cache }}
35+
generate-job-summary: false
36+
gradle-home-cache-includes: |
37+
caches
38+
notifications
39+
jdks
40+
wrapper

.github/workflows/auto-build.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,37 +11,38 @@ jobs:
1111
env:
1212
GITHUB_ACTION_NUMBER: ${{ vars.GITHUB_RUN_NUMBER }}
1313
GITHUB_RUN_NUMBER: ${{ vars.GITHUB_RUN_NUMBER }}
14+
permissions:
15+
contents: write
1416
steps:
15-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1618
with:
1719
submodules: true
1820

19-
- uses: actions/setup-java@v3
20-
with:
21-
java-version: '17'
22-
distribution: 'adopt'
23-
24-
- name: Validate Gradle wrapper
25-
uses: gradle/wrapper-validation-action@v1
26-
27-
- name: Grant execute permission for gradlew
28-
run: chmod +x gradlew
21+
- name: Setup Build
22+
uses: ./.github/actions/build_setup
2923

3024
- name: Build
31-
uses: gradle/gradle-build-action@v2.4.2
25+
uses: gradle/gradle-build-action@v2
3226
with:
3327
arguments: build
3428

3529
- name: Get Version
3630
id: var
3731
run: |
3832
MESSAGE=$(ls build/libs/* | grep sources.jar -v | grep shadow.jar -v | grep slim.jar -v | awk -F 'gtceu-|.jar' '{print $2}')
39-
echo version=$MESSAGE >> $GITHUB_OUTPUT
33+
echo "version=$MESSAGE" >> $GITHUB_OUTPUT
4034
41-
- name: release
35+
- name: Release
36+
id: release
4237
uses: Kir-Antipov/[email protected]
4338
with:
4439
github-tag: ${{ steps.var.outputs.version }}
4540
github-token: ${{ secrets.GITHUB_TOKEN }}
4641
files: |
47-
build/libs/!(*-@(dev|sources|javadoc|dev-shadow)).jar
42+
build/libs/!(*-@(dev|sources|javadoc)).jar
43+
44+
- name: Print Output
45+
run: |
46+
echo "Release tag: ${{ steps.release.outputs.github-tag }}"
47+
echo "Release URL: ${{ steps.release.outputs.github-url }}"
48+
echo "Released files: ${{ steps.release.outputs.github-files }}"

.github/workflows/auto-publish.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
type: boolean
1919
default: true
2020
publishCurseForgeAndModrinth:
21-
description: 'whether publish to the curseforge and modrinth'
21+
description: 'whether to publish to curseforge and modrinth'
2222
required: true
2323
type: boolean
2424
default: true
@@ -30,29 +30,26 @@ jobs:
3030
MAVEN_PASS: ${{ secrets.MAVEN_PASS }}
3131
MAVEN_USER: ${{ secrets.MAVEN_USER }}
3232
steps:
33-
- uses: actions/checkout@v3
33+
- uses: actions/checkout@v4
3434
with:
3535
submodules: true
3636

37-
- uses: actions/setup-java@v3
37+
- uses: actions/setup-java@v4
3838
with:
3939
java-version: '17'
4040
distribution: 'adopt'
4141

42-
- name: Validate Gradle wrapper
43-
uses: gradle/wrapper-validation-action@v1
44-
45-
- name: Grant execute permission for gradlew
46-
run: chmod +x gradlew
42+
- name: Setup Build
43+
uses: ./.github/actions/build_setup
4744

4845
- name: Build
49-
uses: gradle/gradle-build-action@v2.4.2
46+
uses: gradle/gradle-build-action@v2
5047
with:
5148
arguments: build
5249

5350
- if: ${{ inputs.publishMaven }}
5451
name: Publish to Maven
55-
uses: gradle/gradle-build-action@v2.4.2
52+
uses: gradle/gradle-build-action@v2
5653
with:
5754
arguments: publish
5855

.github/workflows/build-on-push.yml

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: build-on-push
22

33
on:
44
pull_request:
5-
paths: ['src/**', '**.gradle', 'gradle.properties', 'gradlew**', 'gradle/**']
5+
paths: ['**']
66

77
jobs:
88
build:
@@ -11,27 +11,34 @@ jobs:
1111
GITHUB_ACTION_NUMBER: ${{ vars.GITHUB_RUN_NUMBER }}
1212
GITHUB_RUN_NUMBER: ${{ vars.GITHUB_RUN_NUMBER }}
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
with:
1616
submodules: true
1717

18-
- uses: actions/setup-java@v3
18+
- name: Check Path Filter
19+
uses: dorny/paths-filter@v3
20+
id: filter
1921
with:
20-
java-version: '17'
21-
distribution: 'adopt'
22+
filters: |
23+
code:
24+
- 'src/**'
25+
- '**.gradle'
26+
- 'gradle.properties'
27+
- 'gradlew**'
28+
- 'gradle/**'
2229
23-
- name: Validate Gradle wrapper
24-
uses: gradle/wrapper-validation-action@v1
25-
26-
- name: Grant execute permission for gradlew
27-
run: chmod +x gradlew
30+
- name: Setup Build
31+
if: steps.filter.outputs.code == 'true'
32+
uses: ./.github/actions/build_setup
2833

2934
- name: Build
30-
uses: gradle/[email protected]
35+
if: steps.filter.outputs.code == 'true'
36+
uses: gradle/gradle-build-action@v2
3137
with:
32-
arguments: build
38+
arguments: assemble
3339

3440
- name: Upload Artifact
41+
if: steps.filter.outputs.code == 'true'
3542
uses: actions/[email protected]
3643
with:
3744
name: build output

.github/workflows/format-java.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Runs formatting requirements
2+
name: Java Formatting
3+
4+
on:
5+
push:
6+
branches:
7+
- 1.20.1
8+
paths: ['src/main/java/**', 'src/test/**']
9+
pull_request:
10+
paths: ['**']
11+
12+
concurrency:
13+
group: formatting-${{ github.head_ref || github.ref }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
formatting:
18+
name: Formatting
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- name: Checkout Repository
23+
uses: actions/checkout@v4
24+
25+
- name: Check Path Filter
26+
uses: dorny/paths-filter@v3
27+
id: filter
28+
with:
29+
filters: |
30+
code:
31+
- 'src/main/java/**'
32+
- 'src/test/**'
33+
34+
- name: Setup Build
35+
if: steps.filter.outputs.code == 'true'
36+
uses: ./.github/actions/build_setup
37+
38+
- name: Run Spotless Formatting Check with Gradle
39+
if: steps.filter.outputs.code == 'true'
40+
run: ./gradlew spotlessCheck --warning-mode all --build-cache

CHANGELOG.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
# ChangeLog
22

3-
Version: 1.1.3.b
3+
Version: 1.3.1
4+
5+
### ADDITIONS:
6+
- Ordered Assembly Lines
7+
- Integration of Monazite: providing lots of additional functionality to jade
8+
- Ghost Circuits for fluid hatches
9+
- Overclocking beyond MAX voltage
10+
- Much more lamp variants, with bloom support
11+
- Subtick parallels, if a recipe oc's past 1 tick it does parallels instead
12+
13+
### CHANGES:
14+
- In world multiblock preview now properly works with rotated multiblocks
15+
- Updated jp and tw lang
16+
- Fusion Reactors now show a bloom ring when running a recipe
17+
- Pipes of any kind can be water logged
418

519
### FIXES:
6-
- fixed processing array being unable to form
20+
- Disabling hazard config now properly disables everything hazard related
21+
- Rubber trees spawn chance config now works
22+
- Singleblock machines can no longer run a recipe beyond its tier
23+
- Fluid Hatch locking properly saves between world loads
24+
- Color-changing tooltip now changes colors properly

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
GregTech based on Architectury for performing on Forge, Fabric, and Quilt, simultaneously.
66

7+
78
## Download
89
[`Github Releases`](https://github.com/GregTechCEu/GregTechCEu-1.19/releases).
910
[`Curseforge`](https://www.curseforge.com/minecraft/mc-mods/gregtechceu-modern/files)
@@ -18,6 +19,13 @@ GregTech based on Architectury for performing on Forge, Fabric, and Quilt, simul
1819
* [Todo List](https://github.com/GregTechCEu/GregTechCEu-1.19/issues/125) for potential contributors who are interested in this project
1920
* [Dev Q&A](https://github.com/GregTechCEu/GregTechCEu-1.19/wiki/Dev-Q&A) illustrates common questions and answers related to development.
2021

22+
23+
## IDE Requirements (when using IntelliJ IDEA)
24+
25+
For developing this mod, the [Lombok plugin](https://plugins.jetbrains.com/plugin/6317-lombok) for IntelliJ IDEA is strictly required.
26+
Additionally, the [Minecraft Development plugin](https://plugins.jetbrains.com/plugin/8327-minecraft-development) is recommended.
27+
28+
2129
## Credited Works
2230
- Most textures are originally from the **[ZedTech GTCEu Resourcepack](https://github.com/brachy84/zedtech-ceu)**, with some changes made by the community.
2331
- New material item textures by @TTFTCUTS and @Rosethorns.

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ plugins {
66
alias libs.plugins.vineFlower // VineFlower, a better decompiler
77
alias libs.plugins.machete // automatic jar compressing on build
88
alias libs.plugins.shadow
9+
alias libs.plugins.spotless
910
}
1011

1112
apply plugin: "dev.architectury.loom"
@@ -33,10 +34,11 @@ version = "${mod_version}" + (buildNumber != null ? "-build_${System.getenv("GIT
3334
apply from: "$rootDir/gradle/scripts/architectury_loom.gradle"
3435
apply from: "$rootDir/gradle/scripts/capabilities.gradle"
3536
apply from: "$rootDir/gradle/scripts/repositories.gradle"
36-
apply from: "$rootDir/gradle/scripts/dependencies.gradle"
37+
apply from: "$rootDir/dependencies.gradle"
3738
apply from: "$rootDir/gradle/scripts/resources.gradle"
3839
apply from: "$rootDir/gradle/scripts/jars.gradle"
3940
apply from: "$rootDir/gradle/scripts/publishing.gradle"
41+
apply from: "$rootDir/gradle/scripts/spotless.gradle"
4042

4143
tasks.withType(JavaCompile) {
4244
options.encoding = "UTF-8"

0 commit comments

Comments
 (0)