Skip to content

Commit 08cb52d

Browse files
committed
init 26.2
1 parent 2f256be commit 08cb52d

7,377 files changed

Lines changed: 74452 additions & 782960 deletions

File tree

Some content is hidden

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

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
*.bat text eol=crlf
33
*.patch text eol=lf
44
*.java text eol=lf
5-
*.gradle text eol=crlf
65
*.png binary
76
*.gif binary
87
*.exe binary
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: Feature request
3+
about: Want to request a feature?
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
<!-- Please note, feature requests that are submitted as GitHub issues here are rarely implemented. -->
11+
<!-- If you'd like to see something in NeoForge, you should be ready to implement it as a PR. -->
12+
<!-- If you're not sure, open a Draft PR or discuss it in the Discord server. -->
13+
<!-- Discord: https://discord.gg/UvedJ9m -->
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Issue report
3+
about: Visit the discord first for issues with crashes.
4+
title: ''
5+
labels: triage
6+
assignees: ''
7+
8+
---
9+
10+
<!-- Thank you for reporting! -->
11+
12+
<!-- For support with crashes and issues, please make a post in #user-support channel in NeoForge Discord instead: -->
13+
<!-- https://discord.gg/UvedJ9m -->
14+
15+
**Minecraft Version:** {Minecraft version}
16+
17+
**NeoForge Version:** {NeoForge version. *Version number, not latest/rb*}
18+
19+
**Logs:** {Link(s) to GitHub Gist with full latest.log and/or crash report}
20+
21+
**Steps to Reproduce:**
22+
1. Do this
23+
2. Then do that
24+
3. ...
25+
26+
**Description of issue:**

.github/renovate.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"github>neoforged/actions//renovate/neoforge"
5+
]
6+
}

.github/stale.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Configuration for probot-stale - https://github.com/probot/stale
2+
3+
# Label to use when marking as stale
4+
staleLabel: Stale
5+
# Comment to post when removing the stale label. Set to `false` to disable
6+
unmarkComment: false
7+
# Limit the number of actions per hour, from 1-30. Default is 30
8+
limitPerRun: 1
9+
# Issues with these labels will never be considered stale. Set to `[]` to disable
10+
exemptLabels:
11+
- Assigned
12+
13+
pulls:
14+
# Number of days of inactivity before a Pull Request becomes stale
15+
daysUntilStale: 60
16+
# Number of days of inactivity before a stale Pull Request is closed
17+
daysUntilClose: 14
18+
# Comment to post when marking as stale. Set to `false` to disable
19+
markComment: >
20+
This pull request has been automatically marked as stale because it has not had recent
21+
activity, and will be closed if no further activity occurs. If this pull request was
22+
overlooked, forgotten, or should remain open for any other reason, please reply
23+
here to call attention to it and remove the stale status. Thank you for your contributions.
24+
# Comment to post when closing a stale Pull Request. Set to `false` to disable
25+
closeComment: >
26+
This pull request has been automatically closed because it has not had
27+
recent activity. Please feel free to update or reopen it.
28+
issues:
29+
# Number of days of inactivity before an Issue becomes stale
30+
daysUntilStale: 180
31+
# Number of days of inactivity before a stale Issue is closed
32+
daysUntilClose: 14
33+
# Comment to post when marking as stale. Set to `false` to disable
34+
markComment: >
35+
This issue has been automatically marked as stale because it has not had activity
36+
in a long time. If this issue is still relevant and should remain open, please reply
37+
with a short explanation (e.g. "I have checked the code and this issue is still relevant because ___."
38+
or "Here's a screenshot of this issue on the latest version").
39+
Thank you for your contributions!
40+
# Comment to post when closing a stale Issue. Set to `false` to disable
41+
closeComment: >
42+
This issue has been automatically closed because it has not had
43+
activity in a long time. Please feel free to reopen it or create a new issue.

.github/workflows/build-prs.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# File generated by the GradleUtils `setupGitHubActionsWorkflows` task, avoid modifying it directly
2+
# The template can be found at https://github.com/neoforged/GradleUtils/blob/44d9e09cfa2c6032b84ac40495ea5ab7d64fe521/src/actionsTemplate/resources/.github/workflows/build-prs.yml
3+
4+
name: Build PRs
5+
6+
on:
7+
pull_request:
8+
types:
9+
- synchronize
10+
- opened
11+
- ready_for_review
12+
- reopened
13+
push:
14+
branches:
15+
- 'feature/**'
16+
workflow_dispatch:
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout repository
23+
uses: neoforged/actions/checkout@main
24+
25+
- name: Setup JDK 25
26+
uses: neoforged/actions/setup-java@main
27+
with:
28+
java-version: 25
29+
# Exclude minecraft sources from emitting annotation warnings since we cannot point to them anyway
30+
warning-file-path: '(?!.+\/projects\/neoforge\/src\/)[^:]+'
31+
32+
- name: Setup Gradle
33+
uses: gradle/actions/setup-gradle@v4
34+
with:
35+
cache-read-only: false
36+
37+
- name: Setup with Gradle
38+
run: ./gradlew :neoforge:setup -PvalidateAccessTransformers
39+
40+
- name: Build with Gradle
41+
run: ./gradlew assemble checkFormatting
42+
43+
- name: Run JCC
44+
if: ${{ ! startsWith(github.event.pull_request.head.ref, 'port/') && ! startsWith(github.ref_name, 'port/') && ! startsWith(github.event.pull_request.base.ref, 'port/') }}
45+
run: ./gradlew checkJarCompatibility
46+
47+
- name: Upload JCC
48+
if: ${{ ! startsWith(github.event.pull_request.head.ref, 'port/') && ! startsWith(github.ref_name, 'port/') && ! startsWith(github.event.pull_request.base.ref, 'port/') }}
49+
uses: neoforged/action-jar-compatibility/upload@v1
50+
51+
- name: Publish artifacts
52+
if: ${{ github.event_name == 'pull_request' }}
53+
uses: neoforged/action-pr-publishing/upload@v1

.github/workflows/build.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Check PR local changes
2+
3+
on:
4+
pull_request:
5+
types:
6+
- synchronize
7+
- opened
8+
- ready_for_review
9+
- reopened
10+
11+
jobs:
12+
check-local-changes:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout repository
16+
uses: neoforged/actions/checkout@main
17+
18+
- name: Setup JDK 25
19+
uses: neoforged/actions/setup-java@main
20+
with:
21+
java-version: 25
22+
problem-matcher: false
23+
24+
- name: Setup Gradle
25+
uses: gradle/actions/setup-gradle@v4
26+
with:
27+
cache-read-only: false
28+
29+
- name: Setup with Gradle
30+
run: ./gradlew :neoforge:setup
31+
32+
- name: Gen package infos
33+
run: ./gradlew generatePackageInfos
34+
35+
- name: Gen patches and ATs
36+
run: ./gradlew :neoforge:genPatches :neoforge:generateAccessTransformers :neoforge:generateFinalizeSpawnTargets
37+
38+
- name: Run datagen with Gradle
39+
run: ./gradlew :neoforge:runData :tests:runData
40+
41+
- name: Check no local changes are present
42+
run: |
43+
# Print status for easier debugging
44+
git status
45+
if [ -n "$(git status --porcelain)" ]; then exit 1; fi

.github/workflows/publish-jcc.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# File generated by the GradleUtils `setupGitHubActionsWorkflows` task, avoid modifying it directly
2+
# The template can be found at https://github.com/neoforged/GradleUtils/blob/a65628b0c89dec60b357ce3f8f6bfa62934b8357/src/actionsTemplate/resources/.github/workflows/publish-jcc.yml
3+
4+
name: Publish PR JCC output
5+
6+
on:
7+
workflow_run:
8+
workflows: [Build PRs]
9+
types:
10+
- completed
11+
12+
jobs:
13+
publish-jcc:
14+
if: ${{ ! startsWith(github.event.workflow_run.head_branch, 'port/') }}
15+
uses: neoforged/actions/.github/workflows/publish-jcc.yml@main
16+
with:
17+
beta_version_pattern: .*-beta.*
18+
secrets:
19+
JCC_GH_APP_ID: ${{ secrets.JCC_GH_APP_ID }}
20+
JCC_GH_APP_KEY: ${{ secrets.JCC_GH_APP_KEY }}

.github/workflows/publish-prs.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# File generated by the GradleUtils `setupGitHubActionsWorkflows` task, avoid modifying it directly
2+
# The template can be found at https://github.com/neoforged/GradleUtils/blob/44d9e09cfa2c6032b84ac40495ea5ab7d64fe521/src/actionsTemplate/resources/.github/workflows/publish-prs.yml
3+
4+
name: Publish PRs to GitHub Packages
5+
6+
on:
7+
workflow_run:
8+
workflows: [Build PRs]
9+
types:
10+
- completed
11+
issue_comment:
12+
types:
13+
- edited
14+
pull_request_target:
15+
types:
16+
- opened
17+
18+
permissions:
19+
packages: write
20+
21+
jobs:
22+
publish-prs:
23+
if: true
24+
uses: neoforged/actions/.github/workflows/publish-prs.yml@main
25+
with:
26+
artifact_base_path: net/neoforged/neoforge/|net/neoforged/testframework/
27+
uploader_workflow_name: Build PRs
28+
secrets:
29+
PR_PUBLISHING_GH_APP_ID: ${{ secrets.PR_PUBLISHING_GH_APP_ID }}
30+
PR_PUBLISHING_GH_APP_KEY: ${{ secrets.PR_PUBLISHING_GH_APP_KEY }}

0 commit comments

Comments
 (0)