LevelTickEvent

Importing the class

If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.

script.zs
import crafttweaker.neoforge.api.event.tick.LevelTickEvent;

Extends

LevelTickEvent extends Event.

Members

Getter
script.zs
// LevelTickEvent.hasTime as bool
myLevelTickEvent.hasTime

Return Type: bool

Getter
script.zs
// LevelTickEvent.level as Level
myLevelTickEvent.level

Return Type: Level