Class LocalOptionsBuilder
java.lang.Object
org.screamingsandals.simpleinventories.builder.LocalOptionsBuilder
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptioncosmeticItem
(Object stack) cosmeticItem
(Object stack, Consumer<org.screamingsandals.lib.item.builder.ItemBuilder> consumer) cosmeticItem
(Consumer<org.screamingsandals.lib.item.builder.ItemBuilder> consumer) emptySlotItem
(Object stack) emptySlotItem
(Object stack, Consumer<org.screamingsandals.lib.item.builder.ItemBuilder> consumer) emptySlotItem
(Consumer<org.screamingsandals.lib.item.builder.ItemBuilder> consumer) inventoryType
(String inventoryType) itemsOnRow
(int itemsOnRow) static LocalOptionsBuilder
of
(LocalOptions localOptions) pageBackItem
(Object stack) pageBackItem
(Object stack, Consumer<org.screamingsandals.lib.item.builder.ItemBuilder> consumer) pageBackItem
(Consumer<org.screamingsandals.lib.item.builder.ItemBuilder> consumer) pageForwardItem
(Object stack) pageForwardItem
(Object stack, Consumer<org.screamingsandals.lib.item.builder.ItemBuilder> consumer) pageForwardItem
(Consumer<org.screamingsandals.lib.item.builder.ItemBuilder> consumer) prefix
(net.kyori.adventure.text.Component prefix) renderActualRows
(int renderActualItems) renderFooterStart
(int renderFooterStart) renderHeaderStart
(int renderHeaderStart) renderOffset
(int renderOffset) rows
(int rows) showPageNumber
(boolean showPageNumber)
-
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:
-
-
Method Details
-
backItem
public LocalOptionsBuilder backItem(Consumer<org.screamingsandals.lib.item.builder.ItemBuilder> consumer) -
pageBackItem
public LocalOptionsBuilder pageBackItem(Consumer<org.screamingsandals.lib.item.builder.ItemBuilder> consumer) -
pageForwardItem
public LocalOptionsBuilder pageForwardItem(Consumer<org.screamingsandals.lib.item.builder.ItemBuilder> consumer) -
cosmeticItem
public LocalOptionsBuilder cosmeticItem(Consumer<org.screamingsandals.lib.item.builder.ItemBuilder> consumer) -
emptySlotItem
public LocalOptionsBuilder emptySlotItem(Consumer<org.screamingsandals.lib.item.builder.ItemBuilder> consumer) -
backItem
-
pageBackItem
-
pageForwardItem
-
cosmeticItem
-
emptySlotItem
-
backItem
public LocalOptionsBuilder backItem(Object stack, Consumer<org.screamingsandals.lib.item.builder.ItemBuilder> consumer) -
pageBackItem
public LocalOptionsBuilder pageBackItem(Object stack, Consumer<org.screamingsandals.lib.item.builder.ItemBuilder> consumer) -
pageForwardItem
public LocalOptionsBuilder pageForwardItem(Object stack, Consumer<org.screamingsandals.lib.item.builder.ItemBuilder> consumer) -
cosmeticItem
public LocalOptionsBuilder cosmeticItem(Object stack, Consumer<org.screamingsandals.lib.item.builder.ItemBuilder> consumer) -
emptySlotItem
public LocalOptionsBuilder emptySlotItem(Object stack, Consumer<org.screamingsandals.lib.item.builder.ItemBuilder> consumer) -
rows
-
itemsOnRow
-
renderActualRows
-
renderOffset
-
renderHeaderStart
-
inventoryType
-
showPageNumber
-
prefix
-
prefix
-
of
-
getLocalOptions
-