Enum Class LimitType

java.lang.Object
java.lang.Enum<LimitType>
ua.mcchickenstudio.opencreative.settings.groups.LimitType
All Implemented Interfaces:
Serializable, Comparable<LimitType>, Constable

public enum LimitType extends Enum<LimitType>
  • Enum Constant Details

    • ENTITIES

      public static final LimitType ENTITIES
    • CODE_OPERATIONS

      public static final LimitType CODE_OPERATIONS
    • SCOREBOARDS

      public static final LimitType SCOREBOARDS
    • BOSSBARS

      public static final LimitType BOSSBARS
    • RECIPES

      public static final LimitType RECIPES
    • REDSTONE_OPERATIONS

      public static final LimitType REDSTONE_OPERATIONS
    • OPENING_INVENTORIES

      public static final LimitType OPENING_INVENTORIES
    • SENDING_WEB_REQUESTS

      public static final LimitType SENDING_WEB_REQUESTS
    • PHYSICAL_OBJECTS

      public static final LimitType PHYSICAL_OBJECTS
    • VARIABLES

      public static final LimitType VARIABLES
    • CODING_ERRORS

      public static final LimitType CODING_ERRORS
    • CODING_PLATFORMS

      public static final LimitType CODING_PLATFORMS
    • CODING_ACTIONS_CALLS

      public static final LimitType CODING_ACTIONS_CALLS
    • LIST_ELEMENTS_CHANGES

      public static final LimitType LIST_ELEMENTS_CHANGES
    • TARGETS_CHANGES

      public static final LimitType TARGETS_CHANGES
    • REPEATS_AMOUNT

      public static final LimitType REPEATS_AMOUNT
    • MODIFYING_BLOCKS

      public static final LimitType MODIFYING_BLOCKS
    • BUILDERS_AMOUNT

      public static final LimitType BUILDERS_AMOUNT
    • DEVELOPERS_AMOUNT

      public static final LimitType DEVELOPERS_AMOUNT
    • BLACKLISTED_AMOUNT

      public static final LimitType BLACKLISTED_AMOUNT
    • WHITELISTED_AMOUNT

      public static final LimitType WHITELISTED_AMOUNT
    • SELECTED_LINES_AMOUNT

      public static final LimitType SELECTED_LINES_AMOUNT
  • Method Details

    • values

      public static LimitType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LimitType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getByPath

      @Nullable public static @Nullable LimitType getByPath(@NotNull @NotNull String id)
    • getDefaultLimit

      public int getDefaultLimit()
      Returns default modifier of limit type.
      Returns:
      default limit.
    • getDefaultModifier

      public int getDefaultModifier()
      Returns default modifier of limit type.
      Returns:
      default modifier.
    • getPath

      @NotNull public @NotNull String getPath()
      Returns path for getting limit and modifier from config.
      Returns:
      path in config.