Skip to content

mcjojo3/twilight-lib

Repository files navigation

Twilight Lib

Twilight Lib is a library mod used by mc_jojo3's mods. It is designed to more easily allow synchronization and compatibility between my different mods and is in no way meant to be used in other ways. If anyone (which I doubt) finds this mod useful for other purposes, feel free to use it.

📁 Repository Structure

This repository uses a mono-repo structure with independent mod projects:

  • forge-1.20.1/ - Forge 1.20.1 mod (standalone Gradle project)
  • neoforge-1.21.1/ - NeoForge 1.21.1 mod (standalone Gradle project)

Each module is a complete, independent Gradle project with its own isolated dependency cache. This prevents classpath conflicts and allows both modules to be developed simultaneously.

Quick Start

Building:

# Forge 1.20.1
cd forge-1.20.1
./gradlew build

# NeoForge 1.21.1
cd neoforge-1.21.1
./gradlew build

Running:

# Forge 1.20.1
cd forge-1.20.1
./gradlew runClient --offline

# NeoForge 1.21.1
cd neoforge-1.21.1
./gradlew runClient --offline

Note: Both modules work fully in offline mode after initial dependency download. The isolated Gradle caches (.gradle-forge/ and .gradle-neoforge/) ensure no conflicts between versions.

Functionalities
  • Synchronize data between mods, like tags, variables etc
  • Custom renderer, for mods like CreRaces Classic etc
  • Possibly some shared items / blocks and more...
Mods utilizing the Library
Supported Versions
  • 1.7.10: N/A: None
  • 1.12.2: N/A: None
  • 1.14.4: N/A: None
  • 1.15.2: N/A: None
  • 1.16.5: N/A: None
  • 1.17.1: N/A: None
  • 1.18.2: N/A: None
  • 1.19.2: N/A: None
  • 1.19.4: N/A: None
  • 1.20.1: ADS: "Active Development Support" (Forge)
  • 1.20.4: N/A: None
  • 1.20.6: N/A: None
  • 1.21.1: ADS: "Active Development Support" (NeoForge)

Do note that this is the plan, but things may change over time!

Credits
  • Developers:

  • Textures:

    • Icon traced from art by Kezi

Made by: mc_jojo3