Importing the class

Link to 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.

ZenScript
Copy
import crafttweaker.api.world.data.LevelData;
NameTypeHas GetterHas Setter
Name
dayTime
Type
long
Has Getter
true
Has Setter
false
Name
difficulty
Type
Difficulty
Has Getter
true
Has Setter
false
Name
gameTime
Type
long
Has Getter
true
Has Setter
false
Name
hardcore
Type
boolean
Has Getter
true
Has Setter
false
Name
isDifficultyLocked
Type
boolean
Has Getter
true
Has Setter
false
Name
raining
Type
boolean
Has Getter
true
Has Setter
true
Name
spawnAngle
Type
float
Has Getter
true
Has Setter
false
Name
thundering
Type
boolean
Has Getter
true
Has Setter
false