IntRange
Importing the class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
import crafttweaker.api.loot.IntRange;Static Methods
Return Type: IntRange
IntRange.atLeast(min as int) as IntRange| Parameter | Type | Description |
|---|---|---|
Parameter min | Type int | Description No Description Provided |
Return Type: IntRange
IntRange.atMost(max as int) as IntRange| Parameter | Type | Description |
|---|---|---|
Parameter max | Type int | Description No Description Provided |
Return Type: IntRange
IntRange.between(min as int, max as int) as IntRange| Parameter | Type | Description |
|---|---|---|
Parameter min | Type int | Description No Description Provided |
Parameter max | Type int | Description No Description Provided |
Return Type: IntRange
IntRange.exactly(value as int) as IntRange| Parameter | Type | Description |
|---|---|---|
Parameter value | Type int | Description No Description Provided |