LevelData
Link to leveldata
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 Copyimport crafttweaker.api.world.data.LevelData;
Properties
Link to properties
Name | Type | Has Getter | Has 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 |