Class FuzzyItemEntryBuilder
java.lang.Object
org.rspeer.game.config.item.entry.builder.ItemEntryBuilder
org.rspeer.game.config.item.entry.builder.FuzzyItemEntryBuilder
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
consumableQuantity
(int consumableQuantity) consumableQuantity
(int minimumConsumableQuantity, int maximumConsumableQuantity) equipmentSlot
(Equipment.Slot equipmentSlot) noted
(boolean noted) optional
(boolean optional) quantity
(int withdrawQuantity) quantity
(int minimumQuantity, int withdrawQuantity) restockMeta
(RestockMeta restockMeta) stackable
(boolean stackable) strict
(boolean strict)
-
Constructor Details
-
FuzzyItemEntryBuilder
public FuzzyItemEntryBuilder()
-
-
Method Details
-
strict
-
consumableQuantity
-
consumableQuantity
public FuzzyItemEntryBuilder consumableQuantity(int minimumConsumableQuantity, int maximumConsumableQuantity) -
quantity
- Overrides:
quantity
in classItemEntryBuilder
- Returns:
- Sets the minimum quantity of the
ItemEntry
-
quantity
- Overrides:
quantity
in classItemEntryBuilder
-
stackable
- Overrides:
stackable
in classItemEntryBuilder
-
noted
- Overrides:
noted
in classItemEntryBuilder
-
restockMeta
- Overrides:
restockMeta
in classItemEntryBuilder
-
optional
- Overrides:
optional
in classItemEntryBuilder
-
equipmentSlot
- Overrides:
equipmentSlot
in classItemEntryBuilder
-
key
- Overrides:
key
in classItemEntryBuilder
- Returns:
- Sets the key of the
ItemEntry
. This should typically be the name. Fuzzy items should exclude potion charges and item doses and simply use the base name
-
build
- Overrides:
build
in classItemEntryBuilder
-