Class InventorySetBuilder
java.lang.Object
org.screamingsandals.simpleinventories.builder.AbstractQueueBuilder<CategoryBuilder>
org.screamingsandals.simpleinventories.builder.CategoryBuilder
org.screamingsandals.simpleinventories.builder.InventorySetBuilder
-
Field Summary
Fields inherited from class org.screamingsandals.simpleinventories.builder.CategoryBuilder
subInventory
-
Method Summary
Modifier and TypeMethodDescriptionallowAccessToConsole
(boolean allowAccessToConsole) allowBungeecordPlayerSending
(boolean allowBungeecordPlayerSending) animationsEnabled
(boolean animationsEnabled) buy
(Consumer<OnTradeEvent> consumer) call
(Consumer<CategoryBuilder> consumer) category
(Object material, Consumer<ItemInfoBuilder> consumer) categoryOptions
(Consumer<LocalOptionsBuilder> consumer) click
(Consumer<PostClickEvent> consumer) close
(Consumer<SubInventoryCloseEvent> consumer) cosmetic()
cosmetic
(Consumer<ItemInfoBuilder> consumer) define
(String placeholder, IPlaceholderParser placeholderParser) genericShop
(boolean genericShop) genericShopPriceTypeRequired
(boolean genericShop) hidden
(String id, Consumer<CategoryBuilder> consumer) insert
(String link, Consumer<QueueBuilder> consumer) insert
(String link, SubInventoryLike<?> prebuiltInventory) insert
(List<String> links, Consumer<QueueBuilder> consumer) insert
(List<String> links, SubInventoryLike<?> prebuiltInventory) item
(Object material, Consumer<ItemInfoBuilder> consumer) itemClone
(String link, Consumer<ItemInfoBuilder> consumer) static InventorySetBuilder
of
(InventorySet inventorySet) open
(Consumer<SubInventoryOpenEvent> consumer) preClick
(Consumer<PreClickEvent> consumer) render
(Consumer<ItemRenderEvent> consumer) variableToProperty
(String variable, String property) Custom variables were replaced with properties.Methods inherited from class org.screamingsandals.simpleinventories.builder.CategoryBuilder
getCategoryOptions, getFormat, of, process, putObjectToQueue
Methods inherited from class org.screamingsandals.simpleinventories.builder.AbstractQueueBuilder
build, self
-
Method Details
-
getSubInventory
- Overrides:
getSubInventory
in classCategoryBuilder
-
variableToProperty
Custom variables were replaced with properties. This method remaps the old variables to properties.- Parameters:
variable
- the name of custom variableproperty
- the name of property- Returns:
- self
-
genericShop
-
genericShopPriceTypeRequired
-
animationsEnabled
-
allowAccessToConsole
-
allowBungeecordPlayerSending
-
define
-
define
-
define
-
render
-
preClick
-
click
-
open
-
close
-
buy
-
categoryOptions
- Overrides:
categoryOptions
in classCategoryBuilder
-
category
- Overrides:
category
in classAbstractQueueBuilder<CategoryBuilder>
-
category
- Overrides:
category
in classAbstractQueueBuilder<CategoryBuilder>
-
item
- Overrides:
item
in classAbstractQueueBuilder<CategoryBuilder>
-
item
- Overrides:
item
in classAbstractQueueBuilder<CategoryBuilder>
-
cosmetic
- Overrides:
cosmetic
in classAbstractQueueBuilder<CategoryBuilder>
-
cosmetic
- Overrides:
cosmetic
in classAbstractQueueBuilder<CategoryBuilder>
-
itemClone
- Overrides:
itemClone
in classAbstractQueueBuilder<CategoryBuilder>
-
itemClone
- Overrides:
itemClone
in classAbstractQueueBuilder<CategoryBuilder>
-
include
- Overrides:
include
in classAbstractQueueBuilder<CategoryBuilder>
-
include
- Overrides:
include
in classAbstractQueueBuilder<CategoryBuilder>
-
insert
- Overrides:
insert
in classAbstractQueueBuilder<CategoryBuilder>
-
insert
- Overrides:
insert
in classAbstractQueueBuilder<CategoryBuilder>
-
insert
- Overrides:
insert
in classAbstractQueueBuilder<CategoryBuilder>
-
insert
- Overrides:
insert
in classAbstractQueueBuilder<CategoryBuilder>
-
call
- Overrides:
call
in classAbstractQueueBuilder<CategoryBuilder>
- Parameters:
consumer
- Consumer that consumes AbstractSubInventoryBuilder- Returns:
- returns self
-
getInventorySet
-
of
-