Class LocalOptions
java.lang.Object
org.screamingsandals.simpleinventories.inventory.LocalOptions
- All Implemented Interfaces:
Cloneable
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.screamingsandals.lib.item.Item
static final org.screamingsandals.lib.item.Item
static final org.screamingsandals.lib.item.Item
static final String
static final int
static final org.screamingsandals.lib.item.Item
static final org.screamingsandals.lib.item.Item
static final net.kyori.adventure.text.Component
static final int
static final int
static final int
static final int
static final int
static final boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
clone()
boolean
void
fromNode
(org.spongepowered.configurate.ConfigurationNode configurationNode) org.screamingsandals.lib.item.Item
org.screamingsandals.lib.item.Item
org.screamingsandals.lib.item.Item
int
int
org.screamingsandals.lib.item.Item
org.screamingsandals.lib.item.Item
@Nullable LocalOptions
Deprecated.net.kyori.adventure.text.Component
int
int
int
int
int
getRows()
@Nullable Boolean
int
hashCode()
boolean
void
setBackItem
(@Nullable org.screamingsandals.lib.item.Item backItem) void
setCosmeticItem
(@Nullable org.screamingsandals.lib.item.Item cosmeticItem) void
setEmptySlotItem
(@Nullable org.screamingsandals.lib.item.Item emptySlotItem) void
setInventoryType
(@Nullable String inventoryType) void
setItemsOnRow
(@Nullable Integer itemsOnRow) void
setPageBackItem
(@Nullable org.screamingsandals.lib.item.Item pageBackItem) void
setPageForwardItem
(@Nullable org.screamingsandals.lib.item.Item pageForwardItem) void
setParent
(@Nullable LocalOptions parent) Deprecated.void
setPrefix
(@Nullable net.kyori.adventure.text.Component prefix) void
setRenderActualRows
(@Nullable Integer renderActualRows) void
setRenderFooterStart
(@Nullable Integer renderFooterStart) void
setRenderHeaderStart
(@Nullable Integer renderHeaderStart) void
setRenderOffset
(@Nullable Integer renderOffset) void
void
setShowPageNumber
(@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.
-