Class FuzzyItemEntryBuilder
- java.lang.Object
-
- org.rspeer.game.config.item.entry.builder.ItemEntryBuilder
-
- org.rspeer.game.config.item.entry.builder.FuzzyItemEntryBuilder
-
public class FuzzyItemEntryBuilder extends ItemEntryBuilder
- See Also:
FuzzyItemEntry
-
-
Constructor Summary
Constructors Constructor Description FuzzyItemEntryBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FuzzyItemEntry
build()
FuzzyItemEntryBuilder
consumableQuantity(int consumableQuantity)
FuzzyItemEntryBuilder
consumableQuantity(int minimumConsumableQuantity, int maximumConsumableQuantity)
FuzzyItemEntryBuilder
equipmentSlot(Equipment.Slot equipmentSlot)
FuzzyItemEntryBuilder
key(String key)
FuzzyItemEntryBuilder
noted(boolean noted)
FuzzyItemEntryBuilder
optional(boolean optional)
FuzzyItemEntryBuilder
quantity(int withdrawQuantity)
FuzzyItemEntryBuilder
quantity(int minimumQuantity, int withdrawQuantity)
FuzzyItemEntryBuilder
restockMeta(RestockMeta restockMeta)
FuzzyItemEntryBuilder
stackable(boolean stackable)
FuzzyItemEntryBuilder
strict(boolean strict)
-
-
-
Method Detail
-
strict
public FuzzyItemEntryBuilder strict(boolean strict)
-
consumableQuantity
public FuzzyItemEntryBuilder consumableQuantity(int consumableQuantity)
-
consumableQuantity
public FuzzyItemEntryBuilder consumableQuantity(int minimumConsumableQuantity, int maximumConsumableQuantity)
-
quantity
public FuzzyItemEntryBuilder quantity(int minimumQuantity, int withdrawQuantity)
- Overrides:
quantity
in classItemEntryBuilder
- Returns:
- Sets the minimum quantity of the
ItemEntry
-
quantity
public FuzzyItemEntryBuilder quantity(int withdrawQuantity)
- Overrides:
quantity
in classItemEntryBuilder
-
stackable
public FuzzyItemEntryBuilder stackable(boolean stackable)
- Overrides:
stackable
in classItemEntryBuilder
-
noted
public FuzzyItemEntryBuilder noted(boolean noted)
- Overrides:
noted
in classItemEntryBuilder
-
restockMeta
public FuzzyItemEntryBuilder restockMeta(RestockMeta restockMeta)
- Overrides:
restockMeta
in classItemEntryBuilder
-
optional
public FuzzyItemEntryBuilder optional(boolean optional)
- Overrides:
optional
in classItemEntryBuilder
-
equipmentSlot
public FuzzyItemEntryBuilder equipmentSlot(Equipment.Slot equipmentSlot)
- Overrides:
equipmentSlot
in classItemEntryBuilder
-
key
public FuzzyItemEntryBuilder key(String 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
public FuzzyItemEntry build()
- Overrides:
build
in classItemEntryBuilder
-
-