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 edv$b
intermediary net/minecraft/class_3872$class_3932
named net/minecraft/client/gui/screen/ingame/BookScreen$WritableBookContents
  • Field Details

    • pages

      private final List<String> pages
      Mappings:
      Namespace Name Mixin selector
      official a Ledv$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

      public WritableBookContents(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ledv$b;<init>(Lbue;)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

      private static List<String> getPages(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official b Ledv$b;b(Lbue;)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 interface BookScreen.Contents
      Mappings:
      Namespace Name Mixin selector
      official a Ledv$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

      public StringVisitable getPageUnchecked(int index)
      Specified by:
      getPageUnchecked in interface BookScreen.Contents
      Mappings:
      Namespace Name Mixin selector
      official a Ledv$a;a(I)Lqc;
      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;