Class StrategySupport

java.lang.Object
dev.rono.igniscore.api.strategy.StrategySupport

public final class StrategySupport extends Object
Pure data helpers for strategy implementations.
  • Method Details

    • customDouble

      public static double customDouble(BlockDefinition definition, String key, double defaultValue)
    • customBoolean

      public static boolean customBoolean(BlockDefinition definition, String key, boolean defaultValue)
    • customInt

      public static int customInt(BlockDefinition definition, String key, int defaultValue)
    • customDouble

      public static double customDouble(Map<String,Object> customData, String key, double defaultValue)
    • customInt

      public static int customInt(Map<String,Object> customData, String key, int defaultValue)
    • customBoolean

      public static boolean customBoolean(Map<String,Object> customData, String key, boolean defaultValue)