mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-21 20:42:26 +00:00
ItemStack loader
- Load ItemStacks from JSON - items.json specifies all the global item click events
This commit is contained in:
1 parent
59e9e52a2a
commit
413b43dfd1
14 files changed
+227
-28
No files matched your search
@@ -2,7 +2,6 @@ package slimeknights.mantle.client.book;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import java.util.HashMap;
|
||||
import java.util.Random;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.resources.IReloadableResourceManager;
|
||||
import net.minecraft.client.resources.IResourceManager;
|
||||
@@ -89,7 +88,7 @@ public class BookLoader implements IResourceManagerReloadListener {
|
||||
* Adds a book to the loader, and returns a reference object
|
||||
* Be warned that the returned BookData object is not immediately populated, and is instead populated when the resources are loaded/reloaded
|
||||
*
|
||||
* @param name The name of the book, modid: will be automatically appended to the front of the name unless that is already added
|
||||
* @param name The name of the book, modid: will be automatically appended to the front of the name unless that is already added
|
||||
* @param repositories All the repositories the book will load the sections from
|
||||
* @return The book object, not immediately populated
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user