IBlockEvent
Link to iblockevent
This interface is extended by all Events that can deal with blocks in the world.
Importing the class
Link to importing-the-class
It might be required to import the class to avoid errors.
import crafttweaker.event.IBlockEvent;
Extending IEventPositionable
Link to extending-ieventpositionable
This interface extends IEventPositionable, which means that all functionality that IEventPositionable offers is also present in IBlockEvent
ZenGetters/ZenSetter
Link to zengetterszensetter
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
Link to zengetterszensetterszenmethods-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 |