@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, wait
create, getPage
public WritableBookContents(ItemStack stack)
public int getPageCount()
getPageCount
in interface BookScreen.Contents
public StringVisitable getPageUnchecked(int index)
getPageUnchecked
in interface BookScreen.Contents