IntRange
Link to intrange
Diese Klasse importieren
Link to diese-klasse-importieren
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.
ZenScript Copyimport crafttweaker.api.loot.IntRange;
Static Methods
Link to static-methods
Name: atLeast
Return Type: IntRange
ZenScript CopyIntRange.atLeast(min as int) as IntRange
Parameter | Type | Beschreibung |
---|---|---|
Parameter min | Type int | Beschreibung No Description Provided |
Name: atMost
Return Type: IntRange
ZenScript CopyIntRange.atMost(max as int) as IntRange
Parameter | Type | Beschreibung |
---|---|---|
Parameter max | Type int | Beschreibung No Description Provided |
Name: between
Return Type: IntRange
ZenScript CopyIntRange.between(min as int, max as int) as IntRange
Parameter | Type | Beschreibung |
---|---|---|
Parameter min | Type int | Beschreibung No Description Provided |
Parameter max | Type int | Beschreibung No Description Provided |
Name: exactly
Return Type: IntRange
ZenScript CopyIntRange.exactly(value as int) as IntRange
Parameter | Type | Beschreibung |
---|---|---|
Parameter value | Type int | Beschreibung No Description Provided |