/** * This class was created by . It's distributed as * part of the Botania Mod. Get the Source Code in github: * https://github.com/Vazkii/Botania * * Botania is Open Source and distributed under a * Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License * (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB) * * File Created @ [Jan 14, 2014, 6:15:28 PM (GMT)] */ package vazkii.botania.api; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public final class BotaniaAPI { private static List categories = new ArrayList(); private static List allEntries = new ArrayList(); public static void addCategory(LexiconCategory category) { categories.add(category); } public static List getAllCategories() { return categories; } public static void addEntry(LexiconEntry entry, LexiconCategory category) { allEntries.add(entry); category.entries.add(entry); } }