public enum MarkdownPageLoader extends java.lang.Enum<MarkdownPageLoader> implements IPageLoaderText
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Field and Description |
---|---|
static boolean |
DEBUG |
Modifier and Type | Method and Description |
---|---|
static net.minecraft.item.ItemStack |
loadComplexItemStack(java.lang.String line) |
GuidePageFactory |
loadPage(java.io.BufferedReader reader,
PageEntry entry) |
static MarkdownPageLoader |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MarkdownPageLoader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
loadPage
public static final MarkdownPageLoader INSTANCE
public static MarkdownPageLoader[] values()
for (MarkdownPageLoader c : MarkdownPageLoader.values()) System.out.println(c);
public static MarkdownPageLoader valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static net.minecraft.item.ItemStack loadComplexItemStack(java.lang.String line)
public GuidePageFactory loadPage(java.io.BufferedReader reader, PageEntry entry) throws java.io.IOException
loadPage
in interface IPageLoaderText
java.io.IOException