LevelEvent

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.level.LevelEvent;

Extends

LevelEvent extends Event.

Members

Getter
script.zs
// LevelEvent.level as LevelAccessor
myLevelEvent.level

Return Type: LevelAccessor