IAxisAlignedBB
Link to iaxisalignedbb
Импорт пакета
Link to импорт-пакета
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 | Тип |
---|---|
ZenGetter minX | Тип double |
ZenGetter minY | Тип double |
ZenGetter minZ | Тип double |
ZenGetter maxX | Тип double |
ZenGetter maxY | Тип double |
ZenGetter maxZ | Тип double |
ZenGetter center | Тип IVector3d |