Class RequestedLevel

java.lang.Object
me.lokka30.levelledmobs.misc.RequestedLevel

public class RequestedLevel extends Object
Used as a placeholder for when a number or a number-range is passed from a user argument
Since:
3.2.0
  • Field Details

    • level

      public int level
    • levelRangeMin

      public int levelRangeMin
    • levelRangeMax

      public int levelRangeMax
    • hasLevelRange

      public boolean hasLevelRange
    • hadInvalidArguments

      public boolean hadInvalidArguments
  • Constructor Details

    • RequestedLevel

      public RequestedLevel()
  • Method Details

    • setMinAllowedLevel

      public void setMinAllowedLevel(int level)
    • setMaxAllowedLevel

      public void setMaxAllowedLevel(int level)
    • getLevelMin

      public int getLevelMin()
    • getLevelMax

      public int getLevelMax()
    • setLevelFromString

      public boolean setLevelFromString(String numberOrNumberRange)
    • toString

      public String toString()
      Overrides:
      toString in class Object