java.lang.Object
org.screamingsandals.simpleinventories.inventory.LocalOptions
All Implemented Interfaces:
Cloneable

public class LocalOptions extends Object implements Cloneable
  • Field Details

    • ROWS

      public static final int ROWS
      See Also:
    • ITEMS_ON_ROW

      public static final int ITEMS_ON_ROW
      See Also:
    • RENDER_ACTUAL_ROWS

      public static final int RENDER_ACTUAL_ROWS
      See Also:
    • RENDER_OFFSET

      public static final int RENDER_OFFSET
      See Also:
    • RENDER_HEADER_START

      public static final int RENDER_HEADER_START
      See Also:
    • SHOW_PAGE_NUMBER

      public static final boolean SHOW_PAGE_NUMBER
      See Also:
    • INVENTORY_TYPE

      public static final String INVENTORY_TYPE
      See Also:
    • PREFIX

      public static final net.kyori.adventure.text.Component PREFIX
    • BACK_ITEM

      public static final org.screamingsandals.lib.item.Item BACK_ITEM
    • PAGE_BACK_ITEM

      public static final org.screamingsandals.lib.item.Item PAGE_BACK_ITEM
    • PAGE_FORWARD_ITEM

      public static final org.screamingsandals.lib.item.Item PAGE_FORWARD_ITEM
    • COSMETIC_ITEM

      public static final org.screamingsandals.lib.item.Item COSMETIC_ITEM
    • EMPTY_SLOT_ITEM

      public static final org.screamingsandals.lib.item.Item EMPTY_SLOT_ITEM
  • Constructor Details

    • LocalOptions

      public LocalOptions()
  • Method Details

    • getBackItem

      public org.screamingsandals.lib.item.Item getBackItem()
    • getPageBackItem

      public org.screamingsandals.lib.item.Item getPageBackItem()
    • getPageForwardItem

      public org.screamingsandals.lib.item.Item getPageForwardItem()
    • getCosmeticItem

      public org.screamingsandals.lib.item.Item getCosmeticItem()
    • getEmptySlotItem

      public org.screamingsandals.lib.item.Item getEmptySlotItem()
    • isShowPageNumber

      public boolean isShowPageNumber()
    • getPrefix

      public net.kyori.adventure.text.Component getPrefix()
    • getInventoryType

      public String getInventoryType()
    • getRows

      public int getRows()
    • getItemsOnRow

      public int getItemsOnRow()
    • getRenderActualRows

      public int getRenderActualRows()
    • getRenderOffset

      public int getRenderOffset()
    • getRenderHeaderStart

      public int getRenderHeaderStart()
    • getRenderFooterStart

      public int getRenderFooterStart()
    • getItemsOnPage

      public int getItemsOnPage()
    • clone

      public LocalOptions clone()
      Overrides:
      clone in class Object
    • fromNode

      public void fromNode(org.spongepowered.configurate.ConfigurationNode configurationNode)
    • getShowPageNumber

      @Nullable public @Nullable Boolean getShowPageNumber()
    • setBackItem

      public void setBackItem(@Nullable @Nullable org.screamingsandals.lib.item.Item backItem)
    • setPageBackItem

      public void setPageBackItem(@Nullable @Nullable org.screamingsandals.lib.item.Item pageBackItem)
    • setPageForwardItem

      public void setPageForwardItem(@Nullable @Nullable org.screamingsandals.lib.item.Item pageForwardItem)
    • setCosmeticItem

      public void setCosmeticItem(@Nullable @Nullable org.screamingsandals.lib.item.Item cosmeticItem)
    • setEmptySlotItem

      public void setEmptySlotItem(@Nullable @Nullable org.screamingsandals.lib.item.Item emptySlotItem)
    • setShowPageNumber

      public void setShowPageNumber(@Nullable @Nullable Boolean showPageNumber)
    • setPrefix

      public void setPrefix(@Nullable @Nullable net.kyori.adventure.text.Component prefix)
    • setInventoryType

      public void setInventoryType(@Nullable @Nullable String inventoryType)
    • setRows

      public void setRows(@Nullable @Nullable Integer rows)
    • setItemsOnRow

      public void setItemsOnRow(@Nullable @Nullable Integer itemsOnRow)
    • setRenderActualRows

      public void setRenderActualRows(@Nullable @Nullable Integer renderActualRows)
    • setRenderOffset

      public void setRenderOffset(@Nullable @Nullable Integer renderOffset)
    • setRenderHeaderStart

      public void setRenderHeaderStart(@Nullable @Nullable Integer renderHeaderStart)
    • setRenderFooterStart

      public void setRenderFooterStart(@Nullable @Nullable Integer renderFooterStart)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getParent

      @Deprecated @Nullable public @Nullable LocalOptions getParent()
      Deprecated.
    • setParent

      @Deprecated public void setParent(@Nullable @Nullable LocalOptions parent)
      Deprecated.