A Minecraft addon that adds ancient stuff to Epic Knights Mod. Ported to Minecraft 1.21.1 (Fabric & NeoForge).
- Ancient Armor Sets
- Historical Helmets
- Decorative Items
- Cross-Platform (Works on both Fabric and NeoForge)
This project uses a multi-platform architecture with shared common code and platform-specific implementations.
- Java Development Kit (JDK) 21 or higher
Epic-Knights-Antique-Legacy/
├── common/ # Shared code for all platforms
├── fabric/ # Fabric-specific implementation
├── neoforge/ # NeoForge-specific implementation
├── gradle/ # Gradle wrapper files
├── build.gradle # Root build configuration
└── settings.gradle # Multi-project settings
Open VS Code and install these extensions:
# Essential Java extensions
- Extension Pack for Java (Microsoft)
- Gradle for Java (Microsoft)
- IntelliCode (Microsoft)
# Optional but recommended
- GitLens — Git supercharged
- Minecraft Development Kit
- YAML (Red Hat)After Cloning:
-
Press
Ctrl+Shift+Pand search for "Java: Workspace Settings" -
Set the Java runtime to JDK 21 or higher
-
Configure VS Code settings:
# Copy the example settings file and customize it cp .vscode/settings.json.example .vscode/settings.jsonThen edit
.vscode/settings.jsonto point to your Java installation path.
# Build the project
./gradlew build
# Run Fabric development client
./gradlew :fabric:runClient
# Run NeoForge development client
./gradlew :neoforge:runClientAfter cloning or importing
- Go to File → Project Structure (
Ctrl+Alt+Shift+S) - Under Project Settings → Project:
- Set Project SDK to Java 21 or higher
- Set Project language level to 21
- Under Platform Settings → SDKs:
- Ensure JDK 21+ is configured
Usually, these steps are automatically done by IntelliJ
Run these Gradle tasks to set up run configurations:
# Generate IntelliJ workspace files
./gradlew genIdeaWorkspace
# Generate Eclipse run configurations (if needed)
./gradlew genEclipseRunsIntelliJ should automatically create run configurations for:
- Fabric Client: Runs the mod in Fabric development environment
- NeoForge Client: Runs the mod in NeoForge development environment
- Fabric Server: Runs a Fabric development server
- NeoForge Server: Runs a NeoForge development server
If they don't appear, run ./gradlew genIdeaWorkspace again.
- Go to File → Settings → Editor → Code Style → Java
- Import the project's code style (if available) or configure:
- Indent: 4 spaces (not tabs)
- Continuation indent: 8 spaces
- Keep indents on empty lines: Disabled
# Clean build (removes previous build artifacts)
./gradlew clean build
# Build specific platform
./gradlew :fabric:build
./gradlew :neoforge:build
# Build only common code
./gradlew :common:build# Fabric development client
./gradlew :fabric:runClient
# NeoForge development client
./gradlew :neoforge:runClient
# Run with debugging enabled
./gradlew :neoforge:runClient --debug-jvm# Run all tests
./gradlew test
# Run tests for specific platform
./gradlew :fabric:test
./gradlew :neoforge:testcommon/src/main/resources/assets/antiquelegacy/textures/- Item and armor texturescommon/src/main/resources/assets/antiquelegacy/models/- Item and block modelscommon/src/main/resources/data/antiquelegacy/- Recipes and loot tables
"Cannot resolve symbol" errors:
- Run
./gradlew clean buildto refresh dependencies - Restart your IDE and reimport the Gradle project
- Check that your JDK version is 21 or higher
Run configurations not appearing:
- Run
./gradlew genIdeaWorkspace(IntelliJ) - Check that Gradle imported successfully
- Verify the project SDK is set correctly
Build failures:
- Ensure you're using JDK 21+
- Check for syntax errors in recent changes
- Run
./gradlew cleanand try building again
Texture/model not showing in game:
- Check file paths match the code references
- Verify JSON syntax in model files
- Check for typos in resource locations
This project is licensed under the MIT License - see the LICENSE file for details.
- Magistu - Original Epic Knights creator
- minucius
- simonvargasz - Ported to 1.21.1