Overview#
LunatriusCore is a foundational library mod designed to provide a shared framework for a suite of popular utility mods. While it does not add direct gameplay content such as blocks or items on its own, it is an absolute requirement for the stability and functionality of several major mods, including Schematica and InGame Info XML. By centralizing common code, it reduces the overall footprint of individual mods and ensures that updates to core mechanics—such as configuration handling or rendering—are applied consistently across the entire ecosystem.
Key Functions
- Shared Logic: Provides universal math and position utilities used for complex rendering in mods like Schematica.
- GUI Components: Includes standardized numeric fields, screen wrappers, and geometry tessellators that ensure a consistent user interface across all supported mods.
- Stability: Prevents common crashes by managing Inter-Mod Communication (IMC) and providing a robust configuration GUI that replaces the standard Forge test config.
Integrated Mods#
LunatriusCore serves as the engine for several high-profile mods. Below are the primary mods that require this core to function:
Schematica
Allows players to display a ghost image of a schematic file inside the world. This is used for rebuilding structures or exporting parts of a world into a .schematic file.
- Features: Ghost rendering, printer mode (automatic block placement), and schematic manipulation (rotate/flip).
- Visuals: Transparent blue-print style overlays.
InGame Info XML
A highly customizable HUD mod that displays real-time information on the screen without opening the F3 menu.
- Customization: Uses XML, JSON, or plain text formats to define what data is shown.
- Variables: Can display coordinates, biome, light levels, tool durability, potion effects, and more.
Monster Spawn Highlighter
Visualizes exactly where hostile mobs can spawn by placing color-coded markers on the ground.
- Red X: Mobs can spawn here at any time.
- Yellow X: Mobs can only spawn here at night.
Stackie
Optimizes server and client performance by automatically stacking items and experience orbs on the ground.
- Stack Limits: Can stack items up to 127 or more (configurable).
- Lag Reduction: Significantly reduces entity count in high-drop areas like mob farms.
DynIMC
A utility for modpack creators that allows sending custom Inter-Mod Communication messages to other mods via a simple configuration file.
Configuration#
The configuration for LunatriusCore is found in the config/lunatriuscore.cfg file. These settings affect the core behavior and the update notification system.
| Option | Default | Description |
|---|---|---|
checkForUpdates |
true |
Set to false to disable the update notification message when starting the game. |
silenceStackTrace |
false |
If enabled, the mod will suppress full stack traces in the console for minor errors to keep logs clean. |
To configure the mod in-game, navigate to the Mods button on the main menu, select LunatriusCore, and click Config.
Installation Guide#
To ensure your modpack remains stable, follow these installation steps:
- Install Forge: Ensure you have the correct version of Minecraft Forge installed for 1.12.2 or 1.11.2.
- Download Core: Place the
LunatriusCoreJAR file into your.minecraft/modsfolder. - Add Dependent Mods: Place any mods that require the core (like Schematica or Stackie) into the same
modsfolder. - Launch: Start the game. If the core is missing, the game will display a warning screen and prevent loading to avoid a crash.