Class LocalOptions
java.lang.Object
org.screamingsandals.simpleinventories.inventory.LocalOptions
- All Implemented Interfaces:
Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.screamingsandals.lib.item.Itemstatic final org.screamingsandals.lib.item.Itemstatic final org.screamingsandals.lib.item.Itemstatic final Stringstatic final intstatic final org.screamingsandals.lib.item.Itemstatic final org.screamingsandals.lib.item.Itemstatic final net.kyori.adventure.text.Componentstatic final intstatic final intstatic final intstatic final intstatic final intstatic final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanclone()booleanvoidfromNode(org.spongepowered.configurate.ConfigurationNode configurationNode) org.screamingsandals.lib.item.Itemorg.screamingsandals.lib.item.Itemorg.screamingsandals.lib.item.Itemintintorg.screamingsandals.lib.item.Itemorg.screamingsandals.lib.item.Item@Nullable LocalOptionsDeprecated.net.kyori.adventure.text.ComponentintintintintintgetRows()@Nullable BooleaninthashCode()booleanvoidsetBackItem(@Nullable org.screamingsandals.lib.item.Item backItem) voidsetCosmeticItem(@Nullable org.screamingsandals.lib.item.Item cosmeticItem) voidsetEmptySlotItem(@Nullable org.screamingsandals.lib.item.Item emptySlotItem) voidsetInventoryType(@Nullable String inventoryType) voidsetItemsOnRow(@Nullable Integer itemsOnRow) voidsetPageBackItem(@Nullable org.screamingsandals.lib.item.Item pageBackItem) voidsetPageForwardItem(@Nullable org.screamingsandals.lib.item.Item pageForwardItem) voidsetParent(@Nullable LocalOptions parent) Deprecated.voidsetPrefix(@Nullable net.kyori.adventure.text.Component prefix) voidsetRenderActualRows(@Nullable Integer renderActualRows) voidsetRenderFooterStart(@Nullable Integer renderFooterStart) voidsetRenderHeaderStart(@Nullable Integer renderHeaderStart) voidsetRenderOffset(@Nullable Integer renderOffset) voidvoidsetShowPageNumber(@Nullable Boolean showPageNumber) toString()
-
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:
-
RENDER_FOOTER_START
public static final int RENDER_FOOTER_START- See Also:
-
SHOW_PAGE_NUMBER
public static final boolean SHOW_PAGE_NUMBER- See Also:
-
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
-
getRows
public int getRows() -
getItemsOnRow
public int getItemsOnRow() -
getRenderActualRows
public int getRenderActualRows() -
getRenderOffset
public int getRenderOffset() -
getRenderHeaderStart
public int getRenderHeaderStart() -
getItemsOnPage
public int getItemsOnPage() -
clone
-
fromNode
public void fromNode(org.spongepowered.configurate.ConfigurationNode configurationNode) -
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
-
setPrefix
public void setPrefix(@Nullable @Nullable net.kyori.adventure.text.Component prefix) -
setInventoryType
-
setRows
-
setItemsOnRow
-
setRenderActualRows
-
setRenderOffset
-
setRenderHeaderStart
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
getParent
Deprecated. -
setParent
Deprecated.
-