Skip to content

Latest commit

 

History

History
96 lines (62 loc) · 3.74 KB

DEV.md

File metadata and controls

96 lines (62 loc) · 3.74 KB

ProjectEF Neo + — Developer Guide

← Back to README

This guide covers building and running ProjectEF Neo + from source. For gameplay features, installation, and optional integrations, see the README.

Project References

Source Sets and Validation

Location Current status
src/api/java Compiled public API; included in the main JAR and also published as an API JAR
src/main/java and src/main/resources Compiled Mod code and runtime resources
src/datagen/generated Tracked resources included in the main JAR; do not delete them
src/datagen/java Retained for migration, but not compiled; no runData run is currently configured
src/test/java Retained for migration, but the test source directories are currently disabled

A successful build or test task does not mean the retained tests ran. Restoring tests and data generation is separate work tracked in the Fabric port status. Client, dedicated-server, and multiplayer checks must be recorded separately from compilation or documentation checks.

Local Workspace

The Gradle wrapper uses the default user-level GRADLE_USER_HOME (~/.gradle), so dependency, wrapper and Loom caches are shared with other projects on the machine. Set GRADLE_USER_HOME explicitly if you need an isolated cache.

The .gradle/, .gradle-home/, build/, and run/ directories are local build or runtime state, not source material. Exclude them from IDE indexing where appropriate. Back up test worlds before removing anything under run/.

Shared documentation, examples, and scripts belong in docs/, examples/, and scripts/. Use docs/local/ or scripts/local/ for private notes and experiments. Existing local plans, legacy check scripts, logs, and extracted dependencies remain ignored; review them individually before adding them to Git.

Building from Source

Use Java 21 and the Gradle wrapper included in this repository.

Clone the repository:

git clone https://github.com/SpacJoy/ProjectEF-plus.git
cd ProjectEF

Build the project on Linux / macOS:

./gradlew build

Windows (PowerShell):

.\gradlew.bat build

Build output is written to build/libs/.

Running the Development Client

Linux / macOS:

./gradlew runClient

Windows (PowerShell):

.\gradlew.bat runClient

Selecting a Recipe Viewer

The development recipe viewer defaults to JEI. The recipe_viewer property in gradle.properties accepts jei, emi, rei, hybrid, or none.

To use EMI or REI for a single run:

./gradlew runClient -Precipe_viewer=emi
./gradlew runClient -Precipe_viewer=rei

On Windows (PowerShell):

.\gradlew.bat runClient -Precipe_viewer=emi
.\gradlew.bat runClient -Precipe_viewer=rei

Porting Notes

Before working on loader-specific behavior, read the Fabric port status. It tracks current decisions and separates confirmed implementation facts from historical items that still need verification. Earlier migration records are linked from the documentation index.

The mod identifier remains projecte, but NeoForge add-ons are not binary-compatible with the Fabric API changes and need to be ported separately.