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
Mappings:
Namespace Name
official elm$c
intermediary net/minecraft/class_3872$class_3933
named net/minecraft/client/gui/screen/ingame/BookScreen$WrittenBookContents
  • Field Details

    • pages

      private final List<String> pages
      Mappings:
      Namespace Name Mixin selector
      official a Lelm$c;a:Ljava/util/List;
      intermediary field_17420 Lnet/minecraft/class_3872$class_3933;field_17420:Ljava/util/List;
      named pages Lnet/minecraft/client/gui/screen/ingame/BookScreen$WrittenBookContents;pages:Ljava/util/List;
  • Constructor Details

    • WrittenBookContents

      public WrittenBookContents(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lelm$c;<init>(Lcaa;)V
      intermediary <init> Lnet/minecraft/class_3872$class_3933;<init>(Lnet/minecraft/class_1799;)V
      named <init> Lnet/minecraft/client/gui/screen/ingame/BookScreen$WrittenBookContents;<init>(Lnet/minecraft/item/ItemStack;)V
  • Method Details

    • getPages

      private static List<String> getPages(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official b Lelm$c;b(Lcaa;)Ljava/util/List;
      intermediary method_17565 Lnet/minecraft/class_3872$class_3933;method_17565(Lnet/minecraft/class_1799;)Ljava/util/List;
      named getPages Lnet/minecraft/client/gui/screen/ingame/BookScreen$WrittenBookContents;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 Lelm$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 Lelm$a;a(I)Lrp;
      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;