Package studio.mevera.lotus.paper
Class PaperLotus.PaperPaginationSessionFactory
java.lang.Object
studio.mevera.lotus.paper.PaperLotus.PaperPaginationSessionFactory
- All Implemented Interfaces:
studio.mevera.lotus.spi.PaginationSessionFactory<net.kyori.adventure.text.Component>
- Enclosing class:
PaperLotus
public static final class PaperLotus.PaperPaginationSessionFactory
extends Object
implements studio.mevera.lotus.spi.PaginationSessionFactory<net.kyori.adventure.text.Component>
PaginationSessionFactory implementation that creates
PaperPaginationSession instances for Paper pagination definitions.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T,X extends studio.mevera.lotus.api.pagination.AbstractPageContext<net.kyori.adventure.text.Component, T, ?>>
@NotNull studio.mevera.lotus.api.pagination.PaginationSession<net.kyori.adventure.text.Component, T, ? extends X> create(@NotNull studio.mevera.lotus.api.pagination.AbstractPagination<net.kyori.adventure.text.Component, T, X> definition, @NotNull studio.mevera.lotus.Lotus<net.kyori.adventure.text.Component> lotus, @NotNull org.bukkit.entity.Player viewer)
-
Constructor Details
-
PaperPaginationSessionFactory
public PaperPaginationSessionFactory()
-
-
Method Details
-
create
@NotNull public <T,X extends studio.mevera.lotus.api.pagination.AbstractPageContext<net.kyori.adventure.text.Component, @NotNull studio.mevera.lotus.api.pagination.PaginationSession<net.kyori.adventure.text.Component,T, ?>> T, create? extends X> (@NotNull @NotNull studio.mevera.lotus.api.pagination.AbstractPagination<net.kyori.adventure.text.Component, T, X> definition, @NotNull @NotNull studio.mevera.lotus.Lotus<net.kyori.adventure.text.Component> lotus, @NotNull @NotNull org.bukkit.entity.Player viewer) - Specified by:
createin interfacestudio.mevera.lotus.spi.PaginationSessionFactory<net.kyori.adventure.text.Component>
-