Package com.fastasyncworldedit.core.math
Class MutableBlockVector3
java.lang.Object
com.sk89q.worldedit.math.BlockVector3
com.fastasyncworldedit.core.math.MutableBlockVector3
-
Field Summary
Fields inherited from class com.sk89q.worldedit.math.BlockVector3
ONE, UNIT_MINUS_X, UNIT_MINUS_Y, UNIT_MINUS_Z, UNIT_X, UNIT_Y, UNIT_Z, ZERO
-
Constructor Summary
ConstructorDescriptionMutableBlockVector3
(int x, int y, int z) MutableBlockVector3
(BlockVector3 other) -
Method Summary
Modifier and TypeMethodDescriptionstatic MutableBlockVector3
at
(double x, double y, double z) static MutableBlockVector3
at
(int x, int y, int z) static MutableBlockVector3
get
(int x, int y, int z) final int
getX()
Get the X coordinate.final int
getY()
Get the Y coordinate.final int
getZ()
Get the Z coordinate.mutX
(double x) final MutableBlockVector3
mutX
(int x) mutY
(double y) final MutableBlockVector3
mutY
(int y) mutZ
(double z) final MutableBlockVector3
mutZ
(int z) setComponents
(int x, int y, int z) setComponents
(BlockVector3 other) Methods inherited from class com.sk89q.worldedit.math.BlockVector3
abs, add, add, add, ceil, checkLongPackable, clampY, containedWithin, cross, distance, distanceSq, divide, divide, divide, dot, equals, equals, floor, fromLongPackedForm, getBiome, getBlock, getBlockX, getBlockY, getBlockZ, getFullBlock, getMaximum, getMinimum, getNbtData, getOrdinal, getOrdinalBelow, getOrdinalChar, getStateAbove, getStateRelativeY, hashCode, isLongPackable, length, lengthSq, multiply, multiply, multiply, multiply, normalize, plus, round, setBiome, setBlock, setComponents, setFullBlock, setOrdinal, shl, shl, shr, shr, sortByCoordsYzx, subtract, subtract, subtract, toBlockVector2, toImmutable, toLongPackedForm, toParserString, toPitch, toString, toVector3, toYaw, transform2D, withX, withY, withZ
-
Constructor Details
-
MutableBlockVector3
public MutableBlockVector3() -
MutableBlockVector3
-
MutableBlockVector3
public MutableBlockVector3(int x, int y, int z)
-
-
Method Details
-
at
-
at
-
get
-
setComponents
-
setComponents
- Overrides:
setComponents
in classBlockVector3
-
getX
public final int getX()Description copied from class:BlockVector3
Get the X coordinate.- Specified by:
getX
in classBlockVector3
- Returns:
- the x coordinate
-
getY
public final int getY()Description copied from class:BlockVector3
Get the Y coordinate.- Specified by:
getY
in classBlockVector3
- Returns:
- the y coordinate
-
getZ
public final int getZ()Description copied from class:BlockVector3
Get the Z coordinate.- Specified by:
getZ
in classBlockVector3
- Returns:
- the z coordinate
-
mutX
- Overrides:
mutX
in classBlockVector3
-
mutY
- Overrides:
mutY
in classBlockVector3
-
mutZ
- Overrides:
mutZ
in classBlockVector3
-
mutX
- Overrides:
mutX
in classBlockVector3
-
mutY
- Overrides:
mutY
in classBlockVector3
-
mutZ
- Overrides:
mutZ
in classBlockVector3
-