Go to file
Wuzzy ed98637211 Update alias syntax 2016-12-28 17:34:06 +01:00
textures Introduce entry aliases for items 2016-12-20 13:35:45 +01:00
README.md Minor README change 2016-12-28 15:48:40 +01:00
depends.txt Add doc_identifier example 2016-12-19 19:00:52 +01:00
description.txt Update description 2016-12-20 12:19:59 +01:00
doc.lua Use new doc syntax to add entries and categories 2016-12-28 15:48:27 +01:00
doc_identifier.lua Improve comments all over the place 2016-12-20 18:47:35 +01:00
doc_items.lua Update alias syntax 2016-12-28 17:34:06 +01:00
init.lua Add doc_identifier example 2016-12-19 19:00:52 +01:00
mod.conf Initial commit 2016-12-15 23:27:11 +01:00

README.md

Example mod for the Help modpack (doc, doc_items, etc.)

This mod is for modders who want to learn how to use the APIs of the mods doc, doc_items and doc_identifier from the Help modpack. It is useless for anyone else. This mod should only be used for testing and learning. not for actual playing or for servers, as it will only clutter the the help categories.

It demonstrates the usage of the APIs of the Help mods. This should help you in getting started with this modpack.

This mod includes examples for the following mods:

  • doc_items: In doc_items.lua. For adding item help (including nodes). Start here!
  • doc_identifier: In doc_identifier.lua. This is for adding lookup tool support for custom entities.
  • doc: In doc.lua, for adding your own categories and entries. This is rather heavy stuff, intended for advanced modding. But is also very flexible.

This example mod only shows the most frequently-needed features to help you get started. For most use cases, this knowledge might already suffice. You do not need to understand everything to use this modpack. Read API.md of the respective mods to learn how to use the Help mods properly.

Using the APIs of the Help modpack helps to improve the overall quality and completeness of the entire help.

Activate this mod in your world to see some example categories, entries and items added.

Read the source code files in this mod for some brief explanations.