Class BookScreen.WritableBookContents
java.lang.Object
net.minecraft.client.gui.screen.ingame.BookScreen.WritableBookContents
- All Implemented Interfaces:
BookScreen.Contents
- Enclosing class:
- BookScreen
@Environment(CLIENT) public static class BookScreen.WritableBookContents extends Object implements BookScreen.Contents
- Mappings:
Namespace Name official dwg$b
intermediary net/minecraft/class_3872$class_3932
named net/minecraft/client/gui/screen/ingame/BookScreen$WritableBookContents
-
Field Summary
-
Constructor Summary
Constructors Constructor Description WritableBookContents(ItemStack stack)
-
Method Summary
Modifier and Type Method Description int
getPageCount()
private static List<String>
getPages(ItemStack stack)
StringVisitable
getPageUnchecked(int index)
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.ingame.BookScreen.Contents
getPage
-
Field Details
-
pages
- Mappings:
Namespace Name Mixin selector official a
Ldwg$b;a:Ljava/util/List;
intermediary field_17419
Lnet/minecraft/class_3872$class_3932;field_17419:Ljava/util/List;
named pages
Lnet/minecraft/client/gui/screen/ingame/BookScreen$WritableBookContents;pages:Ljava/util/List;
-
-
Constructor Details
-
WritableBookContents
- Mappings:
Namespace Name Mixin selector official <init>
Ldwg$b;<init>(Lbnv;)V
intermediary <init>
Lnet/minecraft/class_3872$class_3932;<init>(Lnet/minecraft/class_1799;)V
named <init>
Lnet/minecraft/client/gui/screen/ingame/BookScreen$WritableBookContents;<init>(Lnet/minecraft/item/ItemStack;)V
-
-
Method Details
-
getPages
- Mappings:
Namespace Name Mixin selector official b
Ldwg$b;b(Lbnv;)Ljava/util/List;
intermediary method_17564
Lnet/minecraft/class_3872$class_3932;method_17564(Lnet/minecraft/class_1799;)Ljava/util/List;
named getPages
Lnet/minecraft/client/gui/screen/ingame/BookScreen$WritableBookContents;getPages(Lnet/minecraft/item/ItemStack;)Ljava/util/List;
-
getPageCount
public int getPageCount()- Specified by:
getPageCount
in interfaceBookScreen.Contents
- Mappings:
Namespace Name Mixin selector official a
Ldwg$a;a()I
intermediary method_17560
Lnet/minecraft/class_3872$class_3931;method_17560()I
named getPageCount
Lnet/minecraft/client/gui/screen/ingame/BookScreen$Contents;getPageCount()I
-
getPageUnchecked
- Specified by:
getPageUnchecked
in interfaceBookScreen.Contents
- Mappings:
Namespace Name Mixin selector official a
Ldwg$a;a(I)Lol;
intermediary method_17561
Lnet/minecraft/class_3872$class_3931;method_17561(I)Lnet/minecraft/class_5348;
named getPageUnchecked
Lnet/minecraft/client/gui/screen/ingame/BookScreen$Contents;getPageUnchecked(I)Lnet/minecraft/text/StringVisitable;
-