Class IngredientBuilder<I extends IngredientImpl,B extends IngredientBuilder<I,B>>
java.lang.Object
ru.cwcode.tkach.refreshmenu.inventory.ingredient.AbstractIngredientBuilder<I,B>
ru.cwcode.tkach.refreshmenu.inventory.ingredient.IngredientBuilder<I,B>
- Direct Known Subclasses:
ActionIngredientBuilder,ExtraIngredientBuilder
public class IngredientBuilder<I extends IngredientImpl,B extends IngredientBuilder<I,B>>
extends AbstractIngredientBuilder<I,B>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected Stringprotected org.bukkit.Material -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionamount(int amount) build()customModelData(int data) description(String description) description(String... description) description(List<String> description) descriptionFromComponent(List<net.kyori.adventure.text.Component> description) descriptionFromComponent(net.kyori.adventure.text.Component description) descriptionFromComponent(net.kyori.adventure.text.Component... description) fromItemData(ru.cwcode.tkach.locale.paper.data.ItemData itemData) name(net.kyori.adventure.text.Component name) type(org.bukkit.Material type) Methods inherited from class ru.cwcode.tkach.refreshmenu.inventory.ingredient.AbstractIngredientBuilder
getThis
-
Field Details
-
name
-
description
-
amount
protected int amount -
type
protected org.bukkit.Material type -
customModelData
protected int customModelData
-
-
Constructor Details
-
IngredientBuilder
public IngredientBuilder()
-
-
Method Details
-
fromItemData
-
name
-
name
-
description
-
description
-
description
-
descriptionFromComponent
-
descriptionFromComponent
-
descriptionFromComponent
-
amount
-
type
-
customModelData
-
build
- Specified by:
buildin classAbstractIngredientBuilder<I extends IngredientImpl,B extends IngredientBuilder<I, B>>
-