Wiki 9Minecraft LunatriusCore Wiki

LunatriusCore — Guide

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.

Mechanics and Shared Code

As a library, LunatriusCore introduces several technical mechanics that improve the modding environment:

Mechanic Description
MBlockPos An optimized version of the standard BlockPos class, including getAllInBox utilities for faster area scanning.
Geometry Tessellator A specialized rendering tool used to draw the lines and boxes seen in Schematica and Monster Spawn Highlighter.
Numeric Field Control An improved GUI input field that allows for precise numerical configuration within the in-game menus.
Version Checker An internal system that notifies players of updates for any Lunatrius mod upon joining a world.

Commands

While LunatriusCore itself does not add gameplay commands, it enables the command structures for its dependent mods. Common commands enabled by this core include: * /schematica - Accesses schematic management. * /igi - Controls the InGame Info HUD (e.g., /igi reload, /igi taglist).