IBlockSource
Link to iblocksource
The IBlockSource interface contains some information when a dispenser is activated.
Importing the class
Link to importing-the-class
It might be required to import the class to avoid errors.
import crafttweaker.dispenser.IBlockSource;
ZenGetters
Link to zengetters
ZenGetters | Type | Description |
---|---|---|
ZenGetters x | Type double | Description The x coordinate of the dispenser. |
ZenGetters y | Type double | Description The y coordinate of the dispenser. |
ZenGetters z | Type double | Description The z coordinate of the dispenser. |
ZenGetters world | Type IWorld | Description The world of the dispenser. |
ZenGetters blockState | Type IBlockState | Description The block state of the dispenser. |
ZenGetters pos | Type IBlockPos | Description The position of the dispenser. |
ZenGetters facing | Type IFacing | Description The facing of the dispenser. |