Package net.ixdarklord.folios.api.client
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.
Shows a book.
-
Method Summary
Modifier and TypeMethodDescriptionvoidopen(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 @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
-