Импорт класса

Link to импорт-класса

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
Copy
import crafttweaker.api.loot.IntRange;

Name: atLeast

Return Type: IntRange

ZenScript
Copy
IntRange.atLeast(min as int) as IntRange
ПараметрТипОписание
Параметр
min
Тип
int
Описание
No Description Provided

Name: atMost

Return Type: IntRange

ZenScript
Copy
IntRange.atMost(max as int) as IntRange
ПараметрТипОписание
Параметр
max
Тип
int
Описание
No Description Provided

Name: between

Return Type: IntRange

ZenScript
Copy
IntRange.between(min as int, max as int) as IntRange
ПараметрТипОписание
Параметр
min
Тип
int
Описание
No Description Provided
Параметр
max
Тип
int
Описание
No Description Provided

Name: exactly

Return Type: IntRange

ZenScript
Copy
IntRange.exactly(value as int) as IntRange
ПараметрТипОписание
Параметр
value
Тип
int
Описание
No Description Provided