Posted January 16, 2026 by Nothatcher
This update lays the foundation for mod support in Thrust. While it’s still early, the core systems are now in place to allow the game to load content dynamically instead of everything being hard-coded.
What’s new
Added a mod loading system that scans a mods folder at startup
Mods can now define:
New items
New blocks
New recipes
Custom data values (stats, costs, descriptions)
Game content is no longer fully static — systems now reference data definitions instead of fixed values
Mods can be enabled or disabled without changing the base game files
Add a file in /mods/, e.g. my_mod.js
Add it to /mods/index.json
Register a piece:
(() => {
GameModAPI.registerPiece(
{ id: "myPiece", label: "My Piece", icon: "⭐" },
({ THREE }) => new THREE.Mesh(
new THREE.SphereGeometry(1.2, 24, 16),
new THREE.MeshStandardMaterial({ color: 0x00ffaa })
)
);
})();