public interface IBookContent
| Modifier and Type | Method and Description |
|---|---|
boolean |
addElements(IElementGroup page,
IGuiElementFactory factory,
BookContent previous,
IGuiElement previousElement,
int pageHeight)
Adds the content to the page by adding a
IGuiElement or at the content to the previous element. |
default void |
onDeserialization()
Called after the deserialization.
|
default void onDeserialization()
boolean addElements(IElementGroup page, IGuiElementFactory factory, @Nullable BookContent previous, @Nullable IGuiElement previousElement, int pageHeight)
IGuiElement or at the content to the previous element.page - The gui element that represents a book pageprevious - The content of the previous element.previousElement - The element that was previously added to the page.pageHeight - The max height of the current page.