Package me.lokka30.levelledmobs.misc
Class RequestedLevel
java.lang.Object
me.lokka30.levelledmobs.misc.RequestedLevel
Used as a placeholder for when a number or a number-range is passed from a user argument
- Since:
- 3.2.0
-
Field Summary
Modifier and TypeFieldDescriptionboolean
boolean
int
int
int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
boolean
setLevelFromString
(String numberOrNumberRange) void
setMaxAllowedLevel
(int level) void
setMinAllowedLevel
(int level) toString()
-
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