Class BookScreen.WrittenBookContents
java.lang.Object
net.minecraft.client.gui.screen.ingame.BookScreen.WrittenBookContents
- All Implemented Interfaces:
BookScreen.Contents
- Enclosing class:
- BookScreen
@Environment(CLIENT) public static class BookScreen.WrittenBookContents extends Object implements BookScreen.Contents
-
Field Summary
-
Constructor Summary
Constructors Constructor Description WrittenBookContents(ItemStack stack) -
Method Summary
Modifier and Type Method Description intgetPageCount()private static List<String>getPages(ItemStack stack)StringVisitablegetPageUnchecked(int index)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.screen.ingame.BookScreen.Contents
getPage
-
Field Details
-
pages
-
-
Constructor Details
-
WrittenBookContents
-
-
Method Details
-
getPages
-
getPageCount
public int getPageCount()- Specified by:
getPageCountin interfaceBookScreen.Contents
-
getPageUnchecked
- Specified by:
getPageUncheckedin interfaceBookScreen.Contents
-