Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
78360ee
Polish building pieces and enable audited releases
SkyBlade1978 Oct 20, 2026
a5bc04c
Merge pull request #4 from SkyBlade1978/master-1.12.2
SkyBlade1978 Oct 20, 2026
ce221d9
Rewrite the README as a player guide
SkyBlade1978 Oct 20, 2026
9fdb678
Merge pull request #6 from SkyBlade1978/master-1.12.2
SkyBlade1978 Oct 20, 2026
6d3e967
Add paths and Mineralogy pieces for Minecraft 1.12.2
SkyBlade1978 Oct 30, 2026
49efdbe
Keep optional migration fixtures out of ordinary builds
SkyBlade1978 Oct 30, 2026
813de06
Merge pull request #9 from SkyBlade1978/master-1.12.2
SkyBlade1978 Oct 30, 2026
c42a76a
Unlock building recipes and keep previews on normal pieces
SkyBlade1978 Oct 30, 2026
af3ce9b
Fix recipe discovery and previews in Minecraft 1.12.2
SkyBlade1978 Oct 30, 2026
1687bd6
Port Building Pieces to Minecraft 1.14.4
SkyBlade1978 Oct 31, 2026
dd3e557
Preserve legacy materials and inventories during world upgrades
SkyBlade1978 Oct 31, 2026
f07a38b
Avoid chunk reads when recovering saved item frames
SkyBlade1978 Nov 1, 2026
ad44d22
Use the Grass Slabs support repair
SkyBlade1978 Nov 1, 2026
a002b56
Port Building Pieces to Minecraft 1.15.2
SkyBlade1978 Nov 1, 2026
c5573be
Recover retired material targets before restoring migration states
SkyBlade1978 Nov 1, 2026
8965015
Port building pieces to Minecraft 1.16.5
SkyBlade1978 Nov 1, 2026
64bbca2
Preserve recovered biomes in the active world registry
SkyBlade1978 Nov 1, 2026
7842655
Preserve source registries before early level saves
SkyBlade1978 Nov 1, 2026
4e4e9a8
Port Building Pieces to Minecraft 1.17.1
SkyBlade1978 Nov 1, 2026
60ad7e6
Keep complete logs from every packaged client load
SkyBlade1978 Nov 1, 2026
2ebc275
Match jar metadata to the production Java target
SkyBlade1978 Nov 1, 2026
a148bc5
Keep add-on piece names readable on Java 16
SkyBlade1978 Nov 1, 2026
4ddbf88
Preserve native mining rules for add-on pieces
SkyBlade1978 Nov 1, 2026
d240c1a
Wait for native lighting through the server mailbox
SkyBlade1978 Nov 1, 2026
95ef7d8
Keep queued native lighting work progressing
SkyBlade1978 Nov 1, 2026
b19dca9
Register legacy save hooks after parallel mod setup
SkyBlade1978 Nov 2, 2026
b8d7fac
Pump native chunk work while waiting for fixture lighting
SkyBlade1978 Nov 2, 2026
d98d79c
Port Building Pieces to Minecraft 1.18.2
SkyBlade1978 Nov 2, 2026
b3c5cfe
Check every upgrade fixture in the registry audit
SkyBlade1978 Nov 2, 2026
1482e9e
Preserve add-on biome names during 1.18 world upgrades
SkyBlade1978 Nov 2, 2026
f9bc348
Preserve sparse biome IDs when upgrading older worlds
SkyBlade1978 Nov 2, 2026
2be3ed9
Use the updated Grass Slabs config build
SkyBlade1978 Nov 3, 2026
600c685
Port Building Pieces to Minecraft 1.19.4
SkyBlade1978 Nov 3, 2026
8b442a4
Keep saved path recovery targets readable after upgrades
SkyBlade1978 Nov 3, 2026
6603719
Port Building Pieces to Forge 1.20.1
SkyBlade1978 Nov 4, 2026
b37de62
Port Building Pieces to NeoForge 1.20.1
SkyBlade1978 Nov 4, 2026
dec04db
Port Building Pieces to NeoForge 1.20.6
SkyBlade1978 Nov 5, 2026
929e5ce
Port Building Pieces to NeoForge 1.21.1
SkyBlade1978 Nov 5, 2026
2c5a4f2
Keep native plant rules on soil pieces
SkyBlade1978 Nov 5, 2026
08f7280
Bring Building Pieces to NeoForge 1.21.11
SkyBlade1978 Nov 5, 2026
06d5f41
Port Building Pieces to NeoForge 26.1.2
SkyBlade1978 Nov 6, 2026
9bbc3cf
Port Building Pieces to NeoForge 26.2
SkyBlade1978 Nov 6, 2026
155d9b1
Let NeoForge upgrades read larger Forge registry snapshots
SkyBlade1978 Nov 6, 2026
c0be40e
Register distinct blocks and make directional slabs optional
SkyBlade1978 Nov 8, 2026
a2612f2
Check legacy stacks with their original registry IDs
SkyBlade1978 Nov 8, 2026
f82c053
Fix fuel, snowy pieces and crafting on NeoForge 26.2
SkyBlade1978 Nov 18, 2026
685679f
Clarify the Grass Slabs version in the building guide
SkyBlade1978 Nov 18, 2026
bc1984f
Check the active NeoForge 26.2 configuration files
SkyBlade1978 Nov 18, 2026
e4c2a80
Prepare the tested NeoForge 26.2 Building Pieces release
SkyBlade1978 Nov 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*.java]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
max_line_length = 120
trim_trailing_whitespace = true
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,18 @@
*.md text eol=lf
*.gradle text eol=lf
*.properties text eol=lf
*.mcmeta text eol=lf
*.py text eol=lf
*.toml text eol=lf
*.yml text eol=lf
gradlew text eol=lf
*.bat text eol=crlf
*.png binary
*.jar binary
*.zip binary
*.nbt binary

# Keep build scripts and the sealed Mavenizer fixture stable on Windows.
.gitattributes text eol=lf
*.js text eol=lf
ci-fixtures/tools/** -text
135 changes: 106 additions & 29 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,88 +1,165 @@
name: Sky's Building Pieces 1.10 CI
name: Sky's Building Pieces 26.2 NeoForge CI

on:
push:
branches:
- master-1.10.2
- 'feature/**'
- master-26.2-neo
pull_request:
branches:
- master-1.10.2
- master-26.2-neo

permissions:
contents: read

concurrency:
group: skysbuildingpieces-1.10-${{ github.workflow }}-${{ github.ref }}
group: skysbuildingpieces-26.2-neo-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build, test, and audit
cold-bootstrap:
name: Cold NeoForge bootstrap
runs-on: ubuntu-latest
timeout-minutes: 60

steps:
- name: Check out source
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7

- name: Install Java 8 toolchain
- name: Read target build metadata
id: target
shell: bash
run: |
set -euo pipefail
echo "java_setup_version=$(sed -n 's/^java_setup_version=//p' gradle.properties)" >> "$GITHUB_OUTPUT"
echo "gradle_java_version=$(sed -n 's/^gradle_java_version=//p' gradle.properties)" >> "$GITHUB_OUTPUT"

- name: Install pinned Java 25 runtime and toolchain
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5
with:
distribution: temurin
java-version: '8.0.502+7'
java-version: ${{ steps.target.outputs.java_setup_version }}

- name: Check the Gradle JVM
env:
GRADLE_JAVA_MAJOR: ${{ steps.target.outputs.gradle_java_version }}
run: java -version 2>&1 | grep -F "version \"$GRADLE_JAVA_MAJOR."

- name: Bootstrap NeoForge from an empty cache
shell: bash
env:
GRADLE_USER_HOME: ${{ runner.temp }}/skysbuildingpieces-cold-gradle
run: |
set -euo pipefail
test ! -e .gradle
test ! -e "$GRADLE_USER_HOME"
mkdir -p "$GRADLE_USER_HOME"
chmod +x ./gradlew
gradle_args=(
--no-daemon --no-build-cache --stacktrace --max-workers=2
-Dorg.gradle.java.installations.paths="$JAVA_HOME"
-Dorg.gradle.java.installations.auto-detect=false
-Dorg.gradle.java.installations.auto-download=false
)
./gradlew clean "${gradle_args[@]}"
./gradlew classes test "${gradle_args[@]}"

- name: Pin production Java
- name: Verify same-cache bootstrap offline
shell: bash
env:
GRADLE_USER_HOME: ${{ runner.temp }}/skysbuildingpieces-cold-gradle
run: |
echo "SGS_JAVA8_HOME=$JAVA_HOME" >> "$GITHUB_ENV"
echo "SBP_JAVA8_HOME=$JAVA_HOME" >> "$GITHUB_ENV"
echo "STS_JAVA8_HOME=$JAVA_HOME" >> "$GITHUB_ENV"
set -euo pipefail
gradle_args=(
--offline --no-daemon --no-build-cache --stacktrace --max-workers=2
-Dorg.gradle.java.installations.paths="$JAVA_HOME"
-Dorg.gradle.java.installations.auto-detect=false
-Dorg.gradle.java.installations.auto-download=false
)
./gradlew clean "${gradle_args[@]}"
./gradlew classes test --rerun-tasks "${gradle_args[@]}"

build:
name: Build, test, and audit
runs-on: ubuntu-latest
timeout-minutes: 60

- name: Install Java 17 for Gradle
steps:
- name: Check out source
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7

- name: Read target build metadata
id: target
shell: bash
run: |
set -euo pipefail
echo "java_setup_version=$(sed -n 's/^java_setup_version=//p' gradle.properties)" >> "$GITHUB_OUTPUT"
echo "gradle_java_version=$(sed -n 's/^gradle_java_version=//p' gradle.properties)" >> "$GITHUB_OUTPUT"

- name: Install pinned Java 25 runtime and toolchain
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5
with:
distribution: microsoft
java-version: '17'
distribution: temurin
java-version: ${{ steps.target.outputs.java_setup_version }}

- name: Check the Gradle JVM
env:
GRADLE_JAVA_MAJOR: ${{ steps.target.outputs.gradle_java_version }}
run: java -version 2>&1 | grep -F "version \"$GRADLE_JAVA_MAJOR."

- name: Set up Gradle
uses: gradle/actions/setup-gradle@9c971963bec38e04b3d30dcc455b5382be2fdbfb # v6


- name: Make the wrapper executable
run: chmod +x ./gradlew

- name: Build, test, and audit release artifacts
run: >-
./gradlew clean check integrationTest build javadoc verifyReleaseArtifacts writeReleaseChecksums
verifyEclipseProductionClasspath --no-daemon --stacktrace
shell: bash
run: |
set -euo pipefail
gradle_args=(
--no-daemon --stacktrace --max-workers=2
-Dorg.gradle.java.installations.paths="$JAVA_HOME"
-Dorg.gradle.java.installations.auto-detect=false
-Dorg.gradle.java.installations.auto-download=false
)
./gradlew clean "${gradle_args[@]}"
./gradlew check build javadoc verifyReleaseArtifacts writeReleaseChecksums \
preparePackagedRuntimeProbes eclipse verifyEclipseConfiguration \
-Declipse.application=org.eclipse.ui.ide.workbench "${gradle_args[@]}"

- name: Replay artifact checks offline
run: >-
./gradlew assemble verifyReleaseArtifacts writeReleaseChecksums --offline --no-daemon --stacktrace
- name: Test native fresh and reload servers
run: |
set -euo pipefail
python3 -m unittest discover -s tools -p 'test_*.py'
args=(--directory build/ci-native-probe --mode server
--probe build/native-bootstrap-probe/building-pieces-native-checks.jar)
python3 tools/run_development_checks.py "${args[@]}" --phase fresh --fresh
python3 tools/run_development_checks.py "${args[@]}" --phase reload

- name: Upload audited release candidate
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: SkysBuildingPieces-1.10.2-${{ github.sha }}
name: SkysBuildingPieces-26.2-${{ github.sha }}
if-no-files-found: error
retention-days: 30
path: |
build/libs/SkysBuildingPieces-0.3.0.110021.jar
build/libs/SkysBuildingPieces-0.3.0.110021-sources.jar
build/libs/SkysBuildingPieces-0.3.0.110021-javadoc.jar
build/libs/SkysBuildingPieces-0.3.10.2602002.jar
build/libs/SkysBuildingPieces-0.3.10.2602002-sources.jar
build/libs/SkysBuildingPieces-0.3.10.2602002-javadoc.jar
build/release/SHA256SUMS
CHANGELOG.md

- name: Upload diagnostics on failure
if: failure()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: SkysBuildingPieces-1.10.2-diagnostics-${{ github.sha }}
name: SkysBuildingPieces-26.2-diagnostics-${{ github.sha }}
if-no-files-found: ignore
retention-days: 14
path: |
build/test-results/**
build/reports/**
build/*-run/logs/**
build/*-run/**/*.properties
build/ci-native-probe/*-console.log
build/ci-native-probe/logs/**
build/problems/**
27 changes: 8 additions & 19 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ name: CodeQL
on:
push:
branches:
- master-1.10.2
- 'feature/**'
- master-26.2-neo
pull_request:
branches:
- master-1.10.2
- master-26.2-neo
schedule:
- cron: '47 7 * * 4'

Expand All @@ -26,28 +25,15 @@ jobs:
- name: Check out source
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7

- name: Install Java 8 toolchain
- name: Install pinned Java 25 runtime and toolchain
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5
with:
distribution: temurin
java-version: '8.0.502+7'

- name: Pin production Java
run: |
echo "SGS_JAVA8_HOME=$JAVA_HOME" >> "$GITHUB_ENV"
echo "SBP_JAVA8_HOME=$JAVA_HOME" >> "$GITHUB_ENV"
echo "STS_JAVA8_HOME=$JAVA_HOME" >> "$GITHUB_ENV"

- name: Install Java 17 for Gradle
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5
with:
distribution: microsoft
java-version: '17'
java-version: '25.0.3+9.0.LTS'

- name: Set up Gradle
uses: gradle/actions/setup-gradle@9c971963bec38e04b3d30dcc455b5382be2fdbfb # v6


- name: Initialize CodeQL
uses: github/codeql-action/init@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4
with:
Expand All @@ -56,7 +42,10 @@ jobs:
- name: Compile production code
run: |
chmod +x ./gradlew
./gradlew clean classes --rerun-tasks --no-daemon --stacktrace
./gradlew clean classes --rerun-tasks --no-daemon --stacktrace \
-Dorg.gradle.java.installations.paths="$JAVA_HOME" \
-Dorg.gradle.java.installations.auto-detect=false \
-Dorg.gradle.java.installations.auto-download=false

- name: Analyze
uses: github/codeql-action/analyze@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4
2 changes: 2 additions & 0 deletions .github/workflows/deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,8 @@ jobs:
with:
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
curseforge-id: ${{ needs.preflight.outputs.curseforge_project_id }}
# A timeout or HTTP 500 can follow an accepted upload. Check the file before retrying.
curseforge-retry-attempts: 1
name: Sky's Building Pieces ${{ needs.preflight.outputs.release_version }} for Minecraft ${{ needs.preflight.outputs.minecraft_version }} (${{ needs.preflight.outputs.loader_display }})
version: ${{ needs.preflight.outputs.release_version }}
version-type: ${{ inputs.curseforge_release_level }}
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release-on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ jobs:
set -euo pipefail
version="$(sed -n 's/^mod_version=//p' gradle.properties)"
test "$GITHUB_REF_NAME" = "$version"
[[ "$version" =~ ^[0-9]+\.[0-9]+\.[0-9]+\.110021$ ]]
minecraft="$(sed -n 's/^minecraft_version=//p' gradle.properties)"
loader="$(sed -n 's/^loader_code=//p' gradle.properties)"
IFS=. read -r major minor patch <<<"$minecraft"
printf -v suffix '%s%02d%02d%s' "$major" "$((10#$minor))" "$((10#${patch:-0}))" "$loader"
[[ "$version" =~ ^[0-9]+\.[0-9]+\.[0-9]+\.${suffix}$ ]]
checks="$(gh api "repos/$GITHUB_REPOSITORY/commits/$GITHUB_SHA/check-runs?per_page=100" --jq '[.check_runs[] | select(.name == "Build, test, and audit" and .conclusion == "success")] | length')"
test "$checks" -gt 0
echo "verifyReleaseArtifacts passed in CI. This tag check publishes nothing."
4 changes: 2 additions & 2 deletions .github/workflows/validate-gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: Validate Gradle Wrapper
on:
push:
branches:
- master-1.10.2
- 'master-*'
- 'feature/**'
pull_request:
branches:
- master-1.10.2
- 'master-*'

permissions:
contents: read
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,9 @@ agent_notes/
# Files from Forge MDK
forge*changelog.txt
/README.txt

# Resource-generation tools
__pycache__/
*.py[cod]
.pytest_cache/
.eclipse/
Loading
Loading