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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PaperPaginationSessionFactory

      public PaperPaginationSessionFactory()
  • Method Details

    • create

      @NotNull public <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 @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:
      create in interface studio.mevera.lotus.spi.PaginationSessionFactory<net.kyori.adventure.text.Component>