Class ItemEntrySetup
java.lang.Object
org.rspeer.game.config.item.entry.setup.ItemEntrySetup
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BlowpipeSetup, DivineRunePouchSetup, RunePouchSetup
An interface representing the setup that an ItemEntry needs.
For example when adding a blowpipe ItemEntry to a loadout,
we need to know what darts they want in it
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfinal <T> Tfinal <T> Tabstract booleanisRequired(InventoryLoadout loadout)
-
Method Details
-
isRequired
- Returns:
trueif the given inventory loadout requires config for this item. For example, loadout instanceof BackpackLoadout would mean the entry only needs additional setup if it's added to a backpack loadout
-
getPrompts
-
getConfig
-
getConfig
- Returns:
- A config value for the given prompt title
-
getConfig
- Returns:
- A config value for the given prompt
-