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)StringRenderablegetPageUnchecked(int index)
-
Field Details
-
Constructor Details
-
Method Details
-
getPages
-
getPageCount
public int getPageCount()- Specified by:
getPageCountin interfaceBookScreen.Contents
-
getPageUnchecked
- Specified by:
getPageUncheckedin interfaceBookScreen.Contents
-