Class CustomLevels


  • @Plugin(name="CustomLevels",
            category="Core",
            printObject=true)
    public final class CustomLevels
    extends java.lang.Object
    Container for CustomLevelConfig objects.
    • Method Detail

      • createCustomLevels

        @PluginFactory
        public static CustomLevels createCustomLevels​(@PluginElement("CustomLevels")
                                                      CustomLevelConfig[] customLevels)
        Create a CustomLevels object to contain all the CustomLevelConfigs.
        Parameters:
        customLevels - An array of CustomLevelConfigs.
        Returns:
        A CustomLevels object.
      • getCustomLevels

        public java.util.List<CustomLevelConfig> getCustomLevels()
        Returns a list of the CustomLevelConfig objects created during configuration.
        Returns:
        the configured custom levels