Add Power Grid NeoForge port submodule
Some checks failed
Codex Template Compliance / template-compliance (push) Failing after 5s
Release Dry Run / release-dry-run (push) Failing after 2m7s
Build / build (push) Failing after 26m35s
Scheduled Repository Cleanup Check / cleanup-check (push) Successful in 6s
Scheduled Security Scan / security-scan (push) Failing after 13s
Scheduled Dependency Check / dependency-check (push) Failing after 13s

This commit is contained in:
ToxicCrzay270
2026-05-27 13:48:25 +02:00
parent a820496648
commit ce2967ed40
7 changed files with 104 additions and 14 deletions

View File

@@ -4,7 +4,10 @@
Minecraft Renew Mod is a local workspace for Minecraft mod porting and prototyping.
The active project is `create-limited-draining/`, a NeoForge port of Create: Limited Draining for Minecraft 1.21.1 and Create 6.0.10.
The active projects are:
- `create-limited-draining/`, a NeoForge port of Create: Limited Draining for Minecraft 1.21.1 and Create 6.0.10.
- `power-grid/`, the official Create: Power Grid `architectury-1.21.1/dev` upstream branch tracked as a submodule for NeoForge 1.21.1 verification.
## Repository Rules
@@ -22,7 +25,7 @@ The active project is `create-limited-draining/`, a NeoForge port of Create: Lim
## Commands
Run commands from `create-limited-draining/` unless noted otherwise.
From `create-limited-draining/`:
```powershell
.\gradlew build
@@ -31,7 +34,14 @@ Run commands from `create-limited-draining/` unless noted otherwise.
.\gradlew dependencies --configuration runtimeClasspath
```
There is no separate lint or test command currently documented. Use `.\gradlew build` as the cheapest reliable verification command.
From `power-grid/`:
```powershell
.\gradlew :forge:compileJava -x :native:buildWindows -x :native:buildLinux --no-daemon
.\gradlew :forge:remapJar -x :native:buildWindows -x :native:buildLinux --no-daemon
```
There is no separate lint command currently documented. Use the project-specific build or compile command as the cheapest reliable verification command.
## Artifacts
@@ -39,12 +49,14 @@ Expected build output:
```text
create-limited-draining/build/libs/*.jar
power-grid/forge/build/libs/*.jar
```
Current documented artifact:
```text
createlimiteddraining-1.21.1-0.3.0-port.1.jar
powergrid-mc1.21.1-0.5.5.1.jar
```
## Security Notes
@@ -53,6 +65,7 @@ createlimiteddraining-1.21.1-0.3.0-port.1.jar
- Treat generated Minecraft run data under `create-limited-draining/run/` as local-only.
- Treat Gradle caches, logs, generated resources, and build outputs as generated files.
- Keep external dependency sources documented in `create-limited-draining/build.gradle`.
- Keep `power-grid/` aligned with the upstream submodule unless explicitly doing local patch work.
- Keep publishing credentials in Gitea repository or organization secrets, not in tracked files.
## Finish Checklist