Interface FoliosStyles.Style
- Enclosing class:
FoliosStyles
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Shows a book.
-
Method Summary
Modifier and TypeMethodDescriptionvoidopen(FoliosBook book, @Nullable FoliosBook.Location at, @Nullable net.minecraft.world.InteractionHand hand) Opens a book.
-
Method Details
-
open
void open(FoliosBook book, @Nullable FoliosBook.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
-