@Environment(value=CLIENT) public static class BookScreen.WritableBookContents extends Object implements BookScreen.Contents
| Constructor and Description |
|---|
WritableBookContents(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, waitcreate, getPagepublic WritableBookContents(ItemStack stack)
public int getPageCount()
getPageCount in interface BookScreen.Contentspublic StringVisitable getPageUnchecked(int index)
getPageUnchecked in interface BookScreen.Contents