Package net.minecraft.client.gui.screen
Class ReadBookScreen.WrittenBookInfo
- java.lang.Object
-
- net.minecraft.client.gui.screen.ReadBookScreen.WrittenBookInfo
-
- All Implemented Interfaces:
ReadBookScreen.IBookInfo
- Enclosing class:
- ReadBookScreen
public static class ReadBookScreen.WrittenBookInfo extends java.lang.Object implements ReadBookScreen.IBookInfo
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.String>
pages
-
Constructor Summary
Constructors Constructor Description WrittenBookInfo(ItemStack p_i50616_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPageCount()
ITextProperties
getPageRaw(int p_230456_1_)
private static java.util.List<java.lang.String>
readPages(ItemStack p_216921_0_)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.client.gui.screen.ReadBookScreen.IBookInfo
getPage
-
-
-
-
Constructor Detail
-
WrittenBookInfo
public WrittenBookInfo(ItemStack p_i50616_1_)
-
-
Method Detail
-
readPages
private static java.util.List<java.lang.String> readPages(ItemStack p_216921_0_)
-
getPageCount
public int getPageCount()
- Specified by:
getPageCount
in interfaceReadBookScreen.IBookInfo
-
getPageRaw
public ITextProperties getPageRaw(int p_230456_1_)
- Specified by:
getPageRaw
in interfaceReadBookScreen.IBookInfo
-
-