@Environment(value=CLIENT) public static class BookScreen.WrittenBookContents extends Object implements BookScreen.Contents
Constructor and Description |
---|
WrittenBookContents(ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
int |
getPageCount() |
private static List<String> |
getPages(ItemStack stack) |
StringVisitable |
getPageUnchecked(int index) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, getPage
public WrittenBookContents(ItemStack stack)
public int getPageCount()
getPageCount
in interface BookScreen.Contents
public StringVisitable getPageUnchecked(int index)
getPageUnchecked
in interface BookScreen.Contents