Class ModSectionConditionHandler

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

public class ModSectionConditionHandler extends Object implements ISectionConditionHandler
Condition handler for checking if mods are available.
  • Constructor Details

    • ModSectionConditionHandler

      public ModSectionConditionHandler()
  • 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.