Class ConfigSectionConditionHandler

java.lang.Object
org.cyclops.cyclopscore.infobook.condition.ConfigSectionConditionHandler
All Implemented Interfaces:
ISectionConditionHandler

public class ConfigSectionConditionHandler extends Object implements ISectionConditionHandler
Condition handler for checking if configs are enabled.
  • Constructor Details

    • ConfigSectionConditionHandler

      public ConfigSectionConditionHandler()
  • Method Details

    • isSatisfied

      public boolean isSatisfied(ModBase<?> mod, String param)
      Description copied from interface: ISectionConditionHandler
      Check if this condition is satisfied for the given parameter.
      Specified by:
      isSatisfied in interface ISectionConditionHandler
      Parameters:
      mod - The mod that owns the infobook.
      param - The condition parameter.
      Returns:
      If this condition is satisfied.