From 75a6cba0560bb900b2f49c3014ae5b92b6c5333c Mon Sep 17 00:00:00 2001 From: CuriousTorvald Date: Wed, 10 Jan 2024 03:35:36 +0900 Subject: [PATCH] Updated Modules:Setup (markdown) --- Modules:Setup.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules:Setup.md b/Modules:Setup.md index 9ca5fae..4df444b 100644 --- a/Modules:Setup.md +++ b/Modules:Setup.md @@ -46,6 +46,8 @@ A module may have one Jar file. Two or more Jars are not allowed: if your module ## Contents Except for the [[retextures|Modules:Retextures]], there are *technically* no strict directory structure required, certain ingame elements loaded by the engine expects certain paths. +A [sample project](https://github.com/curioustorvald/terrarum-sample-module-project) is available! + ### Entry Point If your module has a Jar file, it must have a single class that extends `net.torvald.terrarum.ModuleEntryPoint`: such class is called an Entry Point. The Entry Point initialises and installs your module to the game. What the Entry Point does to load your module depends on you, but the engine provides the **Modmgr** for installing ingame elements to the game.