Interface GeneratorManager.GeneratorProducer
- Enclosing class:
- GeneratorManager
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a way to produce a given
DoubleGenerator from a Configuration Section.-
Method Summary
Modifier and TypeMethodDescriptionproduce(org.bukkit.configuration.ConfigurationSection section, WbsSettings settings, String directory) Create a generator from a ConfigurationSection, logging errors in the given settings
-
Method Details
-
produce
DoubleGenerator produce(org.bukkit.configuration.ConfigurationSection section, WbsSettings settings, String directory) Create a generator from a ConfigurationSection, logging errors in the given settings- Parameters:
section- The section where this generator is definedsettings- The settings to log errors againstdirectory- The path taken through the config to get to this point, for logging purposes
-