public class MobSectionParser extends SectionParser<MobTree>
| Modifier and Type | Field and Description |
|---|---|
protected ActionParser |
actionParser |
protected MobParser |
mobParser |
protected double |
multiplier |
debugger| Constructor and Description |
|---|
MobSectionParser(ActionParser actionParser,
MobParser mobParser,
double multiplier) |
| Modifier and Type | Method and Description |
|---|---|
MobTree |
parse(org.bukkit.configuration.ConfigurationSection input,
java.lang.String sectionName)
Transforms a configuration object, represented by a key, into an object.
|
getDebugger, isCollectExceptions, setDebuggerprotected ActionParser actionParser
protected MobParser mobParser
protected double multiplier
public MobSectionParser(ActionParser actionParser, MobParser mobParser, double multiplier)
public MobTree parse(org.bukkit.configuration.ConfigurationSection input, java.lang.String sectionName) throws ParsingException
ConfigurationParserparse in class ConfigurationParser<MobTree>input - - the configuration section in which the object is stored.sectionName - - the key of the configuration object.ParsingException - An error occurred during the parsing.