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

Name: between

Return Type: NumberProvider

ZenScript
Copy
NumberProvider.between(min as float, max as float) as NumberProvider
ParameterTypeBeschreibung
Parameter
min
Type
float
Beschreibung
No Description Provided
Parameter
max
Type
float
Beschreibung
No Description Provided

Name: binomial

Return Type: NumberProvider

ZenScript
Copy
NumberProvider.binomial(n as int, p as int) as NumberProvider
ParameterTypeBeschreibung
Parameter
n
Type
int
Beschreibung
No Description Provided
Parameter
p
Type
int
Beschreibung
No Description Provided

Name: exactly

Return Type: NumberProvider

ZenScript
Copy
NumberProvider.exactly(value as float) as NumberProvider
ParameterTypeBeschreibung
Parameter
value
Type
float
Beschreibung
No Description Provided

Name: scoreboard

Return Type: NumberProvider

ZenScript
Copy
NumberProvider.scoreboard(target as EntityTarget, score as string, scale as float) as NumberProvider
ParameterTypeBeschreibungOptionalDefaultValue
Parameter
target
Type
EntityTarget
Beschreibung
No Description Provided
Optional
false
DefaultValue
Parameter
score
Type
string
Beschreibung
No Description Provided
Optional
false
DefaultValue
Parameter
scale
Type
float
Beschreibung
No Description Provided
Optional
true
DefaultValue
1.0