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
73 lines
2.0 KiB
Markdown
73 lines
2.0 KiB
Markdown
# Minecraft Renew Mod
|
|
|
|
Local workspace for Minecraft mod porting and prototyping.
|
|
|
|
## Projects
|
|
|
|
| Project | Path | Status |
|
|
| --- | --- | --- |
|
|
| Create: Limited Draining | `create-limited-draining/` | Local NeoForge 1.21.1 port |
|
|
| Create: Power Grid | `power-grid/` | Official upstream NeoForge 1.21.1 branch tracked as a submodule |
|
|
|
|
## Create: Limited Draining
|
|
|
|
- Original project: https://github.com/JasdewStarfield/CreateLimitedDraining
|
|
- License: MIT License, Copyright (c) 2024 Jasdew Starfield
|
|
- Target: Minecraft 1.21.1, NeoForge 21.1.x, Create 6.0.10
|
|
|
|
Build:
|
|
|
|
```powershell
|
|
cd create-limited-draining
|
|
.\gradlew build
|
|
```
|
|
|
|
Artifact:
|
|
|
|
```text
|
|
create-limited-draining/build/libs/
|
|
```
|
|
|
|
## Create: Power Grid
|
|
|
|
- Original project: https://github.com/patryk3211/PowerGrid
|
|
- License: Apache License 2.0
|
|
- Source branch: `architectury-1.21.1/dev`
|
|
- Target: Minecraft 1.21.1, NeoForge, Create 6.0.10
|
|
- Published reference: Modrinth version `0.5.5.1` for Minecraft 1.21.1 + NeoForge
|
|
|
|
Clone submodules after checkout:
|
|
|
|
```powershell
|
|
git submodule update --init --recursive
|
|
```
|
|
|
|
Verify the NeoForge Java port without building native acceleration binaries:
|
|
|
|
```powershell
|
|
cd power-grid
|
|
.\gradlew :forge:compileJava -x :native:buildWindows -x :native:buildLinux --no-daemon
|
|
```
|
|
|
|
Build a NeoForge JAR without native acceleration binaries:
|
|
|
|
```powershell
|
|
cd power-grid
|
|
.\gradlew :forge:remapJar -x :native:buildWindows -x :native:buildLinux --no-daemon
|
|
```
|
|
|
|
Artifact:
|
|
|
|
```text
|
|
power-grid/forge/build/libs/powergrid-mc1.21.1-0.5.5.1.jar
|
|
```
|
|
|
|
The full upstream `:forge:build` also tries to build native acceleration binaries and may require CMake plus a working C/C++ toolchain.
|
|
|
|
## Repository Rules
|
|
|
|
- Work on `feature/create-addon-port` unless the user says otherwise.
|
|
- Do not push, merge, publish, or create releases without explicit approval.
|
|
- Keep original licenses and attribution with copied code, assets, and submodules.
|
|
- Do not commit local run directories, generated worlds, Gradle caches, build outputs, logs, or secrets.
|