IExplosionEvent
This interface is extended by all explosion events. That means you can use the getters below to access the position details.
Importing the class
It might be required to import the class to avoid errors.
import crafttweaker.event.IExplosionEvent;
ZenGetter/ZenSetter
The following information can be retrieved/set during the event:
ZenGetter | ZenSetter | Type |
---|---|---|
ZenGetter world | ZenSetter | Type IWorld |
ZenGetter explosion | ZenSetter | Type IExplosion |
ZenGetter position | ZenSetter | Type IBlockPos |
ZenGetter x | ZenSetter | Type double |
ZenGetter y | ZenSetter | Type double |
ZenGetter z | ZenSetter | Type double |