Interface GuideStyles.Style

Enclosing class:
GuideStyles
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface GuideStyles.Style
Shows a book.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    open(GuideBook book, @Nullable GuideBook.Location at, @Nullable net.minecraft.world.InteractionHand hand)
    Opens a book.
  • Method Details

    • open

      void open(GuideBook book, @Nullable GuideBook.Location at, @Nullable net.minecraft.world.InteractionHand hand)
      Opens a book.
      Parameters:
      at - where to open it; null for where the player left off (or its start)
      hand - the hand it is held in, when opened by using a book item; null when opened otherwise