IAxisAlignedBB
Link to iaxisalignedbb
Importing the package
Link to importing-the-package
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.
import crafttweaker.util.IAxisAlignedBB;
IAxisAlignedBB constructor
Link to iaxisalignedbb-constructor
You can create a IAxisAlignedBB object yourself by using the following methods:
ZenScript CopyIAxisAlignedBB.create(double minX, double minY, double minZ, double maxX, double maxY, double maxZ);
IAxisAlignedBB.create(IBlockPos pos;
IAxisAlignedBB.create(IBlockPos pos1, IBlockPos pos2;
IAxisAlignedBB.create(IVector3d min, IVector3d max);
The First method allows you to create a position at the given coordinates.
ZenGetters
Link to zengetters
ZenGetter | Tipo |
---|---|
ZenGetter minX | Tipo double |
ZenGetter minY | Tipo double |
ZenGetter minZ | Tipo double |
ZenGetter maxX | Tipo double |
ZenGetter maxY | Tipo double |
ZenGetter maxZ | Tipo double |
ZenGetter center | Tipo IVector3d |