From ca823ad5e46f89ef83ff0d2d138e28bd4da03cd1 Mon Sep 17 00:00:00 2001 From: minjaesong Date: Wed, 7 Sep 2022 21:26:19 +0900 Subject: [PATCH] Updated modules --- Modules:Setup.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Modules:Setup.md b/Modules:Setup.md index fdb048d..4db31a8 100644 --- a/Modules:Setup.md +++ b/Modules:Setup.md @@ -44,11 +44,11 @@ A module may have one Jar file. Two or more Jars are not allowed: if your module Except for the [[retextures|Modules:Retextures]], there are *technically* no strict directory structure required, certain ingame elements loaded by the engine expects certain paths. ### Entry Point -If your module has a Jar file, it must have single class that extends `net.torvald.terrarum.ModuleEntryPoint`: such class is called a Entry Point. The Entry Point initialises and installs your module to the game. What the Entry Point does to load your module depends upto you, but the engine provides the Modmgr for installing ingame elements to the game. +If your module has a Jar file, it must have a single class that extends `net.torvald.terrarum.ModuleEntryPoint`: such class is called a Entry Point. The Entry Point initialises and installs your module to the game. What the Entry Point does to load your module depends up to you, but the engine provides the **Modmgr** for installing ingame elements to the game. ### The Modmgr -The Modmgr provides function to load following ingame elements: +The Modmgr provides the functions to load the following ingame elements: - ModMgr.**GameBlockLoader** — loads the blocks and wires - ModMgr.**GameItemLoader** — loads the items - ModMgr.**GameMaterialLoader** — loads the materials that accompany with the blocks and items @@ -70,7 +70,7 @@ Autotiling and TODO #### GameItemLoader -The GameBlockLoader looks for the `/items/itemid.csv` for the list of items. +The GameItemLoader looks for the `/items/itemid.csv` for the list of items. TODO describe the csv but not the GameItem @@ -90,7 +90,7 @@ TODP The GameRetextureLoader looks for the `/retextures/` for the retextures. -For the retexture file formats, please refer to the [[Modules:Retextures]] +For the retexture file formats, please refer to the [[Modules:Retextures]]. #### GameCraftingRecipeLoader