| Package | Description |
|---|---|
| fr.maxlego08.znexus.zcore.utils |
| Modifier and Type | Method and Description |
|---|---|
Cuboid.CuboidDirection |
Cuboid.CuboidDirection.opposite() |
static Cuboid.CuboidDirection |
Cuboid.CuboidDirection.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Cuboid.CuboidDirection[] |
Cuboid.CuboidDirection.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
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.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.
|