IBlockEvent
This interface is extended by all Events that can deal with blocks in the world.
Importing the class
It might be required to import the class to avoid errors.
import crafttweaker.event.IBlockEvent;
Extending IEventPositionable
This interface extends IEventPositionable, which means that all functionality that IEventPositionable offers is also present in IBlockEvent
ZenGetters/ZenSetter
The following information can be retrieved from the event:
ZenGetter | ZenSetter | Type |
---|---|---|
ZenGetter world | ZenSetter | Type IWorld |
ZenGetter blockState | ZenSetter | Type IBlockState |
ZenGetter block | ZenSetter | Type IBlock |
ZenGetters/ZenSetters/ZenMethods from extensions
The following information can be retrieved/set during the event:
ZenGetter | ZenSetter | Type |
---|---|---|
ZenGetter position | ZenSetter | Type IBlockPos |
ZenGetter x | ZenSetter | Type int |
ZenGetter y | ZenSetter | Type int |
ZenGetter z | ZenSetter | Type int |