Interface BookScreen.Contents

All Known Implementing Classes:
BookScreen.WritableBookContents, BookScreen.WrittenBookContents
Enclosing class:
BookScreen

@Environment(CLIENT) public static interface BookScreen.Contents
Mappings:
Namespace Name
official emq$a
intermediary net/minecraft/class_3872$class_3931
named net/minecraft/client/gui/screen/ingame/BookScreen$Contents
  • Method Details

    • getPageCount

      int getPageCount()
      Mappings:
      Namespace Name Mixin selector
      official a Lemq$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

      StringVisitable getPageUnchecked(int index)
      Mappings:
      Namespace Name Mixin selector
      official a Lemq$a;a(I)Lru;
      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;
    • getPage

      default StringVisitable getPage(int index)
      Mappings:
      Namespace Name Mixin selector
      official b Lemq$a;b(I)Lru;
      intermediary method_17563 Lnet/minecraft/class_3872$class_3931;method_17563(I)Lnet/minecraft/class_5348;
      named getPage Lnet/minecraft/client/gui/screen/ingame/BookScreen$Contents;getPage(I)Lnet/minecraft/text/StringVisitable;
    • create

      static BookScreen.Contents create(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lemq$a;a(Lcax;)Lemq$a;
      intermediary method_17562 Lnet/minecraft/class_3872$class_3931;method_17562(Lnet/minecraft/class_1799;)Lnet/minecraft/class_3872$class_3931;
      named create Lnet/minecraft/client/gui/screen/ingame/BookScreen$Contents;create(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/client/gui/screen/ingame/BookScreen$Contents;