Class ItemInfoBuilder
java.lang.Object
org.screamingsandals.simpleinventories.builder.AbstractQueueBuilder<CategoryBuilder>
org.screamingsandals.simpleinventories.builder.CategoryBuilder
org.screamingsandals.simpleinventories.builder.ItemInfoBuilder
-
Field Summary
Fields inherited from class org.screamingsandals.simpleinventories.builder.CategoryBuilder
subInventory
-
Method Summary
Modifier and TypeMethodDescriptionabsolute
(int absolute) animation
(Consumer<AnimationBuilder> consumer) buy
(Consumer<OnTradeEvent> consumer) category
(Object material, Consumer<ItemInfoBuilder> consumer) categoryOptions
(Consumer<LocalOptionsBuilder> consumer) click
(Consumer<PostClickEvent> consumer) cloneMethod
(String cloneMethod) cloneMethod
(CloneMethod cloneMethod) column
(int number) cosmetic()
cosmetic
(Consumer<ItemInfoBuilder> consumer) disabled
(boolean disabled) disabled
(Predicate<PlayerItemInfo> predicate) org.screamingsandals.lib.item.builder.ItemBuilder
protected InventorySet
org.screamingsandals.lib.item.builder.ItemBuilder
getStack()
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) locate
(InventorySet inventorySet) locate
(InventorySet inventorySet, String locate) locate
(SubInventory subInventory) static ItemInfoBuilder
of
(GenericItemInfo itemInfo) preClick
(Consumer<PreClickEvent> consumer) Deprecated.void
property
(org.spongepowered.configurate.ConfigurationNode configurationNode) render
(Consumer<ItemRenderEvent> consumer) row
(int row) skip
(int skip) times
(int times) timesMethods
(String method) timesMethods
(List<Object> methods) timesMethods
(TimesFlags method) BED WARS ONLY!!!visible
(boolean visible) visible
(Predicate<PlayerItemInfo> predicate) write
(boolean write) Deprecated.Methods inherited from class org.screamingsandals.simpleinventories.builder.CategoryBuilder
getCategoryOptions, of, process, putObjectToQueue
Methods inherited from class org.screamingsandals.simpleinventories.builder.AbstractQueueBuilder
build, call, self
-
Field Details
-
PRICE_PATTERN
-
-
Method Details
-
stack
-
getStack
public org.screamingsandals.lib.item.builder.ItemBuilder getStack() -
processItemBuilderIfOpened
public void processItemBuilderIfOpened() -
price
-
price
-
price
-
priceType
Deprecated. -
property
-
property
-
property
public ItemInfoBuilder property(String name, org.spongepowered.configurate.ConfigurationNode configurationNode) -
property
-
property
-
disabled
-
disabled
-
disabled
-
id
-
absolute
-
clone
-
cloneMethod
-
cloneMethod
-
column
-
column
-
column
-
linebreak
-
linebreak
-
pagebreak
-
pagebreak
-
row
-
skip
-
times
-
timesMethods
-
timesMethods
-
timesMethods
-
visible
-
visible
-
visible
-
write
Deprecated.Turns on or off the rendering for this item. Shouldn't be used, use hidden instead- Parameters:
write
- If item should be rendered- Returns:
- itself
- See Also:
-
getAnimation
-
animation
-
execute
-
execute
-
locate
-
locate
-
locate
-
locate
-
render
-
preClick
-
click
-
buy
-
upgrade
BED WARS ONLY!!!- Parameters:
map
- Map with upgrades- Returns:
- itself
-
getSubInventory
- Overrides:
getSubInventory
in classCategoryBuilder
-
getFormat
- Overrides:
getFormat
in classCategoryBuilder
-
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>
-
getItemInfo
-
getBuilder
public org.screamingsandals.lib.item.builder.ItemBuilder getBuilder() -
of
-