| Package | Description |
|---|---|
| fr.maxlego08.znexus.zcore.utils |
| Modifier and Type | Method and Description |
|---|---|
Cuboid |
Cuboid.clone() |
Cuboid |
Cuboid.contract()
Contract the Cuboid, returning a Cuboid with any air around the edges
removed, just large enough to include all non-air blocks.
|
Cuboid |
Cuboid.contract(Cuboid.CuboidDirection dir)
Contract the Cuboid in the given direction, returning a new Cuboid which
has no exterior empty space.
|
Cuboid |
Cuboid.expand(Cuboid.CuboidDirection dir,
int amount)
Expand the Cuboid in the given direction by the given amount.
|
Cuboid |
Cuboid.getBoundingCuboid(Cuboid other)
Get the Cuboid big enough to hold both this Cuboid and the given one.
|
Cuboid |
Cuboid.getFace(Cuboid.CuboidDirection dir)
Get the Cuboid representing the face of this Cuboid.
|
Cuboid |
Cuboid.inset(Cuboid.CuboidDirection dir,
int amount)
Inset (shrink) the Cuboid in the given direction by the given amount.
|
Cuboid |
Cuboid.outset(Cuboid.CuboidDirection dir,
int amount)
Outset (grow) the Cuboid in the given direction by the given amount.
|
Cuboid |
Cuboid.shift(Cuboid.CuboidDirection dir,
int amount)
Shift the Cuboid in the given direction by the given amount.
|
| Modifier and Type | Method and Description |
|---|---|
Cuboid |
Cuboid.getBoundingCuboid(Cuboid other)
Get the Cuboid big enough to hold both this Cuboid and the given one.
|
| Constructor and Description |
|---|
Cuboid(Cuboid other)
Copy constructor.
|