The IBlockSource interface contains some information when a dispenser is activated.

Diese Klasse importieren

Link to diese-klasse-importieren

It might be required to import the class to avoid errors.

import crafttweaker.dispenser.IBlockSource;

ZenGetterTypeBeschreibung
ZenGetter
x
Type
double
Beschreibung
The x coordinate of the dispenser.
ZenGetter
y
Type
double
Beschreibung
The y coordinate of the dispenser.
ZenGetter
z
Type
double
Beschreibung
The z coordinate of the dispenser.
ZenGetter
world
Type
IWorld
Beschreibung
The world of the dispenser.
ZenGetter
blockState
Type
IBlockState
Beschreibung
The block state of the dispenser.
ZenGetter
pos
Type
IBlockPos
Beschreibung
The position of the dispenser.
ZenGetter
facing
Type
IFacing
Beschreibung
The facing of the dispenser.