Skip to content

Commit 3d9c9d1

Browse files
committed
Ported to 1.19.2 Fabric
1 parent 5b4ec80 commit 3d9c9d1

Some content is hidden

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

59 files changed

+439
-503
lines changed

.gitattributes

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
# Disable autocrlf on generated files, they always generate with LF
2-
# Add any extra files or paths here to make git stop saying they
3-
# are changed when only line endings change.
4-
src/generated/**/.cache/cache text eol=lf
5-
src/generated/**/*.json text eol=lf
1+
#
2+
# https://help.github.com/articles/dealing-with-line-endings/
3+
#
4+
# Linux start script should use lf
5+
/gradlew text eol=lf
6+
7+
# These are Windows script files and should use crlf
8+
*.bat text eol=crlf
9+

.github/workflows/build.yml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Automatically build the project and run any configured tests for every push
2+
# and submitted pull request. This can help catch issues that only occur on
3+
# certain platforms or Java versions, and provides a first line of defence
4+
# against bad commits.
5+
6+
name: build
7+
on: [pull_request, push]
8+
9+
jobs:
10+
build:
11+
strategy:
12+
matrix:
13+
# Use these Java versions
14+
java: [
15+
17, # Current Java LTS & minimum supported by Minecraft
16+
21, # Current Java LTS
17+
]
18+
# and run on both Linux and Windows
19+
os: [ubuntu-22.04, windows-2022]
20+
runs-on: ${{ matrix.os }}
21+
steps:
22+
- name: checkout repository
23+
uses: actions/checkout@v4
24+
- name: validate gradle wrapper
25+
uses: gradle/wrapper-validation-action@v1
26+
- name: setup jdk ${{ matrix.java }}
27+
uses: actions/setup-java@v4
28+
with:
29+
java-version: ${{ matrix.java }}
30+
distribution: 'microsoft'
31+
- name: make gradle wrapper executable
32+
if: ${{ runner.os != 'Windows' }}
33+
run: chmod +x ./gradlew
34+
- name: build
35+
run: ./gradlew build
36+
- name: capture build artifacts
37+
if: ${{ runner.os == 'Linux' && matrix.java == '21' }} # Only upload artifacts built from latest java on one OS
38+
uses: actions/upload-artifact@v3
39+
with:
40+
name: Artifacts
41+
path: build/libs/

.gitignore

+30-18
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,40 @@
1+
# gradle
2+
3+
.gradle/
4+
build/
5+
out/
6+
classes/
7+
18
# eclipse
2-
bin
9+
310
*.launch
4-
.settings
5-
.metadata
6-
.classpath
7-
.project
811

912
# idea
10-
out
13+
14+
.idea/
15+
*.iml
1116
*.ipr
1217
*.iws
13-
*.iml
14-
.idea
1518

16-
# gradle
17-
build
18-
.gradle
19+
# vscode
20+
21+
.settings/
22+
.vscode/
23+
bin/
24+
.classpath
25+
.project
26+
27+
# macos
28+
29+
*.DS_Store
30+
31+
# fabric
1932

20-
# other
21-
eclipse
22-
run
33+
run/
2334

24-
# Files from Forge MDK
25-
forge*changelog.txt
35+
# java
2636

27-
#mods that aren't mine
28-
libs/
37+
hs_err_*.log
38+
replay_*.log
39+
*.hprof
40+
*.jfr

README.md

-27
This file was deleted.

0 commit comments

Comments
 (0)