Home Commands Examples Getting Started With Scripts Global Keywords 1.21 Migration Guide
NeoForgeBracketDumpers NeoForgeBracketHandlers NeoForgeBracketValidators

ExplosionEvent

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.ExplosionEvent;

Extends

ExplosionEvent extends Event.

Members

Getter
script.zs
// ExplosionEvent.explosion as Explosion
myExplosionEvent.explosion

Return Type: Explosion

Getter
script.zs
// ExplosionEvent.level as Level
myExplosionEvent.level

Return Type: Level