@Deprecated
public class GuideRegistry
extends java.lang.Object
GuideAPI (specifically GuideAPI.BOOKS for what used to be done here.| Constructor and Description |
|---|
GuideRegistry()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Book |
getBook(int index)
Deprecated.
|
static java.util.List<Book> |
getBookList()
Deprecated.
|
static int |
getIndexOf(Book book)
Deprecated.
|
static net.minecraft.item.ItemStack |
getItemStackForBook(Book book)
Deprecated.
|
static int |
getSize()
Deprecated.
|
static boolean |
isEmpty()
Deprecated.
|
static void |
registerBook(Book book)
Deprecated.
|
static void |
registerBook(Book book,
boolean createModel)
Deprecated.
Registers your book.
|
static void |
registerBook(Book book,
net.minecraftforge.fml.common.event.FMLPreInitializationEvent event)
Deprecated.
If the book does not have a custom model, this will also register a render for the book.
|
public static void registerBook(Book book, boolean createModel)
book - - Book to registercreateModel - - If a model should be created or not. Still adheres to Book.isCustomModel()public static void registerBook(Book book)
public static void registerBook(Book book, net.minecraftforge.fml.common.event.FMLPreInitializationEvent event)
book - - The book to registerpublic static Book getBook(int index)
index - - The index of the bookpublic static int getIndexOf(Book book)
book - - The book of which to get the indexpublic static int getSize()
public static boolean isEmpty()
public static net.minecraft.item.ItemStack getItemStackForBook(Book book)
book - - The book of which to get the itemstackpublic static java.util.List<Book> getBookList()