Class RulesParsingManager

java.lang.Object
me.lokka30.levelledmobs.rules.RulesParsingManager

public class RulesParsingManager extends Object
Contains the logic that parses rules.yml and reads them into the corresponding java classes
Since:
3.0.0
  • Field Details

    • rulePresets

      @NotNull public final @NotNull Map<String,RuleInfo> rulePresets
    • customRules

      @NotNull public @NotNull List<RuleInfo> customRules
    • defaultRule

      public RuleInfo defaultRule
  • Constructor Details

    • RulesParsingManager

      public RulesParsingManager(LevelledMobs main)
  • Method Details

    • parseRulesMain

      public void parseRulesMain(@Nullable @Nullable org.bukkit.configuration.file.YamlConfiguration config)
    • checkCustomRules

      public void checkCustomRules()
    • getAllRules

      @NotNull public @NotNull List<RuleInfo> getAllRules()