| Modifier and Type | Method and Description |
|---|---|
Vector |
YAMLNode.getVector(String path)
Gets a vector at a location.
|
Vector |
YAMLNode.getVector(String path,
Vector def)
Gets a string at a location.
|
| Modifier and Type | Method and Description |
|---|---|
List<Vector> |
YAMLNode.getVectorList(String path,
List<Vector> def)
Gets a list of vectors.
|
| Modifier and Type | Method and Description |
|---|---|
Vector |
YAMLNode.getVector(String path,
Vector def)
Gets a string at a location.
|
| Modifier and Type | Method and Description |
|---|---|
List<Vector> |
YAMLNode.getVectorList(String path,
List<Vector> def)
Gets a list of vectors.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BlockVector
Extension of Vector that supports being compared as ints (for accuracy).
|
class |
BlockWorldVector
Extension of Vector that supports being compared as ints (for accuracy).
|
class |
WorldVector
A vector with a world component.
|
class |
WorldVectorFace
A WorldVector that emphasizes one side of the block
|
| Modifier and Type | Field and Description |
|---|---|
static Vector |
Vector.ONE |
static Vector |
Vector.UNIT_X |
static Vector |
Vector.UNIT_Y |
static Vector |
Vector.UNIT_Z |
static Vector |
Vector.ZERO |
| Modifier and Type | Method and Description |
|---|---|
Vector |
Vector.add(double x,
double y,
double z)
Adds two points.
|
Vector |
Vector.add(int x,
int y,
int z)
Adds two points.
|
Vector |
Vector.add(Vector... others)
Adds points.
|
Vector |
Vector.add(Vector other)
Adds two points.
|
Vector |
Vector.ceil()
Rounds all components up.
|
Vector |
Vector.clampY(int min,
int max)
Clamp the Y component.
|
Vector |
Vector.cross(Vector other)
Gets the cross product of this and another vector.
|
Vector |
Vector.divide(double n)
Scalar division.
|
Vector |
Vector.divide(double x,
double y,
double z)
Component-wise division
|
Vector |
Vector.divide(float n)
Scalar division.
|
Vector |
Vector.divide(int n)
Scalar division.
|
Vector |
Vector.divide(int x,
int y,
int z)
Component-wise division
|
Vector |
Vector.divide(Vector other)
Component-wise division
|
Vector |
Vector.floor()
Rounds all components down.
|
Vector |
WorldEdit.getDiagonalDirection(LocalPlayer player,
String dirStr)
Get diagonal direction vector for a player's direction.
|
Vector |
Location.getDirection() |
Vector |
WorldEdit.getDirection(LocalPlayer player,
String dirStr)
Get the direction vector for a player's direction.
|
static Vector |
Vector.getMaximum(Vector v1,
Vector v2)
Gets the maximum components of two vectors.
|
static Vector |
Vector.getMidpoint(Vector v1,
Vector v2)
Gets the midpoint of two vectors.
|
static Vector |
Vector.getMinimum(Vector v1,
Vector v2)
Gets the minimum components of two vectors.
|
Vector |
CuboidClipboard.getOffset() |
Vector |
CuboidClipboard.getOrigin() |
Vector |
LocalSession.getPlacementPosition(LocalPlayer player)
Get the placement position.
|
Vector |
Location.getPosition() |
Vector |
CuboidClipboard.getSize()
Get the size of the copy.
|
Vector |
PlayerDirection.leftVector()
Deprecated.
|
Vector |
Vector.multiply(double n)
Scalar multiplication.
|
Vector |
Vector.multiply(double x,
double y,
double z)
Component-wise multiplication
|
Vector |
Vector.multiply(float n)
Scalar multiplication.
|
Vector |
Vector.multiply(int n)
Scalar multiplication.
|
Vector |
Vector.multiply(int x,
int y,
int z)
Component-wise multiplication
|
Vector |
Vector.multiply(Vector... others)
Component-wise multiplication
|
Vector |
Vector.multiply(Vector other)
Component-wise multiplication
|
Vector |
Vector.normalize()
Get the normalized vector.
|
Vector |
Vector.positive()
Returns a vector with the absolute values of the components of this vector.
|
Vector |
Vector.round()
Rounds all components to the closest integer.
Components < 0.5 are rounded down, otherwise up |
Vector |
Vector.setX(double x)
Set X.
|
Vector |
Vector.setX(int x)
Set X.
|
Vector |
Vector.setY(double y)
Set Y.
|
Vector |
Vector.setY(int y)
Set Y.
|
Vector |
Vector.setZ(double z)
Set Z.
|
Vector |
Vector.setZ(int z)
Set Z.
|
Vector |
Vector.subtract(double x,
double y,
double z)
Subtract two points.
|
Vector |
Vector.subtract(int x,
int y,
int z)
Subtract two points.
|
Vector |
Vector.subtract(Vector... others)
Subtract points.
|
Vector |
Vector.subtract(Vector other)
Subtracts two points.
|
Vector |
Vector2D.toVector()
Creates a 3D vector by adding a zero Y component to this vector.
|
Vector |
Vector2D.toVector(double y)
Creates a 3D vector by adding the specified Y component to this vector.
|
Vector |
Vector.transform2D(double angle,
double aboutX,
double aboutZ,
double translateX,
double translateZ)
2D transformation.
|
Vector |
PlayerDirection.vector() |
| Modifier and Type | Method and Description |
|---|---|
Vector |
Vector.add(Vector... others)
Adds points.
|
Vector |
Vector.add(Vector other)
Adds two points.
|
Location |
Location.add(Vector other) |
void |
LocalWorld.checkLoadedChunk(Vector pt)
Checks if the chunk pt is in is loaded.
|
abstract boolean |
LocalWorld.clearContainerBlockContents(Vector pt)
Clear a chest's contents.
|
int |
Vector.compareTo(Vector other) |
boolean |
Vector.containedWithin(Vector min,
Vector max)
Checks to see if a vector is contained with another.
|
boolean |
Vector.containedWithinBlock(Vector min,
Vector max)
Checks to see if a vector is contained with another.
|
abstract boolean |
LocalWorld.copyFromWorld(Vector pt,
BaseBlock block)
Attempts to read a BaseBlock's extra data from the world.
|
abstract boolean |
LocalWorld.copyToWorld(Vector pt,
BaseBlock block)
Attempts to accurately copy a BaseBlock's extra data to the world.
|
Vector |
Vector.cross(Vector other)
Gets the cross product of this and another vector.
|
int |
EditSession.deformRegion(Region region,
Vector zero,
Vector unit,
String expressionString) |
double |
Vector.distance(Vector pt)
Get the distance away from a point.
|
double |
Vector.distanceSq(Vector pt)
Get the distance away from a point, squared.
|
Vector |
Vector.divide(Vector other)
Component-wise division
|
double |
Vector.dot(Vector other)
Gets the dot product of this and another vector.
|
int |
EditSession.drainArea(Vector pos,
double radius)
Drain nearby pools of water or lava.
|
int |
EditSession.drawLine(Pattern pattern,
Vector pos1,
Vector pos2,
double radius,
boolean filled)
Draws a line (out of blocks) between two vectors.
|
abstract void |
LocalWorld.dropItem(Vector pt,
BaseItemStack item)
Drop an item.
|
void |
LocalWorld.dropItem(Vector pt,
BaseItemStack item,
int times)
Drop an item.
|
int |
EditSession.fillXZ(Vector origin,
BaseBlock block,
double radius,
int depth,
boolean recursive)
Fills an area recursively in the X/Z directions.
|
int |
EditSession.fillXZ(Vector origin,
Pattern pattern,
double radius,
int depth,
boolean recursive)
Fills an area recursively in the X/Z directions.
|
int |
EditSession.fixLiquid(Vector pos,
double radius,
int moving,
int stationary)
Level water.
|
static Location |
Location.fromEye(LocalWorld world,
Vector start,
Vector eye) |
static Location |
Location.fromLookAt(LocalWorld world,
Vector start,
Vector lookAt) |
boolean |
LocalWorld.generateBigTree(EditSession editSession,
Vector pt)
Deprecated.
|
boolean |
LocalWorld.generateBirchTree(EditSession editSession,
Vector pt)
Deprecated.
|
boolean |
LocalWorld.generateRedwoodTree(EditSession editSession,
Vector pt)
Deprecated.
|
boolean |
LocalWorld.generateTallRedwoodTree(EditSession editSession,
Vector pt)
Deprecated.
|
boolean |
LocalWorld.generateTree(EditSession editSession,
Vector pt)
Deprecated.
|
boolean |
LocalWorld.generateTree(TreeGenerator.TreeType type,
EditSession editSession,
Vector pt)
Generates a tree
|
BaseBlock |
CuboidClipboard.getBlock(Vector pos)
Get one point in the copy.
|
BaseBlock |
LocalWorld.getBlock(Vector pt) |
BaseBlock |
EditSession.getBlock(Vector pt)
Gets the block type at a position x, y, z.
|
abstract int |
LocalWorld.getBlockData(Vector pt)
Get block data.
|
int |
EditSession.getBlockData(Vector pt) |
abstract int |
LocalWorld.getBlockLightLevel(Vector pt)
Get block light level.
|
abstract int |
LocalWorld.getBlockType(Vector pt)
Get block type.
|
int |
EditSession.getBlockType(Vector pt)
Gets the block type at a position x, y, z.
|
static Vector |
Vector.getMaximum(Vector v1,
Vector v2)
Gets the maximum components of two vectors.
|
static Vector |
Vector.getMidpoint(Vector v1,
Vector v2)
Gets the midpoint of two vectors.
|
static Vector |
Vector.getMinimum(Vector v1,
Vector v2)
Gets the minimum components of two vectors.
|
BaseBlock |
CuboidClipboard.getPoint(Vector pos)
Deprecated.
Use
CuboidClipboard.getBlock(Vector) instead |
static WorldVectorFace |
WorldVectorFace.getWorldVectorFace(LocalWorld world,
Vector vector,
Vector face)
Get a WorldVectorFace by comparing two vectors.
|
int |
EditSession.green(Vector pos,
double radius)
Deprecated.
|
int |
EditSession.green(Vector pos,
double radius,
boolean onlyNormalDirt)
Green.
|
boolean |
Vector.isCollinearWith(Vector other) |
int |
LocalWorld.killMobs(Vector origin,
double radius,
int flags)
Kill mobs in an area.
|
int |
LocalWorld.killMobs(Vector origin,
int radius)
Deprecated.
|
int |
LocalWorld.killMobs(Vector origin,
int radius,
boolean killPets)
Deprecated.
|
int |
EditSession.makeBiomeShape(Region region,
Vector zero,
Vector unit,
BiomeType biomeType,
String expressionString,
boolean hollow) |
int |
EditSession.makeCylinder(Vector pos,
Pattern block,
double radiusX,
double radiusZ,
int height,
boolean filled)
Makes a cylinder.
|
int |
EditSession.makeCylinder(Vector pos,
Pattern block,
double radius,
int height,
boolean filled)
Makes a cylinder.
|
int |
EditSession.makeForest(Vector basePos,
int size,
double density,
TreeGenerator treeGenerator)
Makes a forest.
|
int |
EditSession.makePumpkinPatches(Vector position,
int apothem)
Makes pumpkin patches randomly in an area around the given position.
|
int |
EditSession.makePyramid(Vector pos,
Pattern block,
int size,
boolean filled)
Makes a pyramid.
|
int |
EditSession.makeShape(Region region,
Vector zero,
Vector unit,
Pattern pattern,
String expressionString,
boolean hollow) |
int |
EditSession.makeSphere(Vector pos,
Pattern block,
double radius,
boolean filled)
Makes a sphere.
|
int |
EditSession.makeSphere(Vector pos,
Pattern block,
double radiusX,
double radiusY,
double radiusZ,
boolean filled)
Makes a sphere or ellipsoid.
|
int |
EditSession.moveCuboidRegion(Region region,
Vector dir,
int distance,
boolean copyAir,
BaseBlock replace)
Move a cuboid region.
|
int |
EditSession.moveRegion(Region region,
Vector dir,
int distance,
boolean copyAir,
BaseBlock replace)
Move a region.
|
Vector |
Vector.multiply(Vector... others)
Component-wise multiplication
|
Vector |
Vector.multiply(Vector other)
Component-wise multiplication
|
void |
CuboidClipboard.paste(EditSession editSession,
Vector newOrigin,
boolean noAir) |
void |
CuboidClipboard.paste(EditSession editSession,
Vector newOrigin,
boolean noAir,
boolean entities)
Paste from the clipboard.
|
LocalEntity[] |
CuboidClipboard.pasteEntities(Vector pos) |
void |
CuboidClipboard.place(EditSession editSession,
Vector pos,
boolean noAir)
Places the blocks in a position from the minimum corner.
|
boolean |
LocalWorld.playEffect(Vector position,
int type,
int data)
Plays the minecraft effect with the given type and data at the given position.
|
boolean |
LocalWorld.queueBlockBreakEffect(ServerInterface server,
Vector position,
int blockId,
double priority) |
BaseBlock |
EditSession.rawGetBlock(Vector pt)
Gets the block type at a position x, y, z.
|
boolean |
EditSession.rawSetBlock(Vector pt,
BaseBlock block)
Sets a block without changing history.
|
void |
EditSession.rememberChange(Vector pt,
BaseBlock existing,
BaseBlock block)
Insert a contrived block change into the history.
|
int |
EditSession.removeAbove(Vector pos,
int size,
int height)
Remove blocks above.
|
int |
EditSession.removeBelow(Vector pos,
int size,
int height)
Remove blocks below.
|
abstract int |
LocalWorld.removeEntities(EntityType type,
Vector origin,
int radius)
Remove entities in an area.
|
int |
EditSession.removeNear(Vector pos,
int blockType,
int size)
Remove nearby blocks of a type.
|
void |
CuboidClipboard.setBlock(Vector pt,
BaseBlock block)
Set one point in the copy.
|
boolean |
EditSession.setBlock(Vector pt,
BaseBlock block)
Sets the block at position x, y, z with a block type.
|
boolean |
LocalWorld.setBlock(Vector pt,
Block block,
boolean notifyAdjacent) |
boolean |
EditSession.setBlock(Vector pt,
Pattern pat)
Set a block with a pattern.
|
abstract void |
LocalWorld.setBlockData(Vector pt,
int data)
Deprecated.
|
abstract void |
LocalWorld.setBlockDataFast(Vector pt,
int data)
Deprecated.
|
boolean |
EditSession.setBlockIfAir(Vector pt,
BaseBlock block)
Set a block only if there's no block already there.
|
abstract boolean |
LocalWorld.setBlockType(Vector pt,
int type)
Deprecated.
|
boolean |
LocalWorld.setBlockTypeFast(Vector pt,
int type)
Deprecated.
|
boolean |
EditSession.setChanceBlockIfAir(Vector pos,
BaseBlock block,
double c)
Set a block by chance.
|
void |
CuboidClipboard.setOffset(Vector offset) |
void |
CuboidClipboard.setOrigin(Vector origin) |
void |
LocalPlayer.setPosition(Vector pos)
Move the player.
|
Location |
Location.setPosition(Vector position) |
abstract void |
LocalPlayer.setPosition(Vector pos,
float pitch,
float yaw)
Move the player.
|
boolean |
LocalWorld.setTypeIdAndData(Vector pt,
int type,
int data)
Deprecated.
|
boolean |
LocalWorld.setTypeIdAndDataFast(Vector pt,
int type,
int data)
Deprecated.
|
void |
LocalWorld.simulateBlockMine(Vector pt)
Simulate a block being mined.
|
int |
EditSession.simulateSnow(Vector pos,
double radius)
Make snow.
|
boolean |
EditSession.smartSetBlock(Vector pt,
BaseBlock block)
Actually set the block.
|
int |
EditSession.stackCuboidRegion(Region region,
Vector dir,
int count,
boolean copyAir)
Stack a cuboid region.
|
Vector |
Vector.subtract(Vector... others)
Subtract points.
|
Vector |
Vector.subtract(Vector other)
Subtracts two points.
|
int |
EditSession.thaw(Vector pos,
double radius)
Thaw.
|
| Modifier and Type | Method and Description |
|---|---|
int |
EditSession.drawSpline(Pattern pattern,
List<Vector> nodevectors,
double tension,
double bias,
double continuity,
double quality,
double radius,
boolean filled)
Draws a spline (out of blocks) between specified vectors.
|
| Constructor and Description |
|---|
BlockVector(Vector pt)
Construct the Vector object.
|
BlockWorldVector(LocalWorld world,
Vector pt)
Construct the Vector object.
|
BlockWorldVector(WorldVector world,
Vector v)
Construct the Vector object.
|
CuboidClipboard(Vector size)
Constructs the clipboard.
|
CuboidClipboard(Vector size,
Vector origin)
Constructs the clipboard.
|
CuboidClipboard(Vector size,
Vector origin,
Vector offset)
Constructs the clipboard.
|
Location(LocalWorld world,
Vector position) |
Location(LocalWorld world,
Vector position,
float yaw,
float pitch) |
Vector(Vector pt)
Construct the Vector object.
|
WorldVector(LocalWorld world,
Vector pt)
Construct the Vector object.
|
WorldVectorFace(LocalWorld world,
Vector pt,
VectorFace face)
Construct the Vector object.
|
| Modifier and Type | Method and Description |
|---|---|
static Vector |
BukkitUtil.toVector(org.bukkit.Location loc) |
static Vector |
BukkitUtil.toVector(org.bukkit.util.Vector vector) |
| Modifier and Type | Method and Description |
|---|---|
void |
BukkitWorld.checkLoadedChunk(Vector pt) |
boolean |
BukkitWorld.clearContainerBlockContents(Vector pt)
Clear a chest's contents.
|
boolean |
BukkitWorld.copyFromWorld(Vector pt,
BaseBlock block)
Attempts to read a BaseBlock's extra data from the world.
|
boolean |
BukkitWorld.copyToWorld(Vector pt,
BaseBlock block)
Attempts to accurately copy a BaseBlock's extra data to the world.
|
void |
BukkitWorld.dropItem(Vector pt,
BaseItemStack item)
Drop an item.
|
boolean |
BukkitWorld.generateBigTree(EditSession editSession,
Vector pt)
Deprecated.
|
boolean |
BukkitWorld.generateBirchTree(EditSession editSession,
Vector pt)
Deprecated.
|
boolean |
BukkitWorld.generateRedwoodTree(EditSession editSession,
Vector pt)
Deprecated.
|
boolean |
BukkitWorld.generateTallRedwoodTree(EditSession editSession,
Vector pt)
Deprecated.
|
boolean |
BukkitWorld.generateTree(EditSession editSession,
Vector pt)
Deprecated.
|
boolean |
BukkitWorld.generateTree(TreeGenerator.TreeType type,
EditSession editSession,
Vector pt) |
static NmsBlock |
NmsBlock.get(org.bukkit.World world,
Vector vector,
int type,
int data) |
static DefaultNmsBlock |
DefaultNmsBlock.get(org.bukkit.World world,
Vector position,
int type,
int data)
Build an instance from the given information.
|
BaseBlock |
BukkitWorld.getBlock(Vector pt) |
int |
BukkitWorld.getBlockData(Vector pt)
Get block data.
|
int |
BukkitWorld.getBlockLightLevel(Vector pt)
Get block light level.
|
int |
BukkitWorld.getBlockType(Vector pt)
Get block type.
|
int |
BukkitWorld.killMobs(Vector origin,
double radius,
int flags)
Kill mobs in an area.
|
boolean |
BukkitWorld.playEffect(Vector position,
int type,
int data) |
int |
BukkitWorld.removeEntities(EntityType type,
Vector origin,
int radius)
Remove entities in an area.
|
static boolean |
DefaultNmsBlock.set(org.bukkit.World world,
Vector position,
BaseBlock block)
Set an instance or a
TileEntityBlock to the given position. |
static boolean |
NmsBlock.set(org.bukkit.World world,
Vector vector,
Block block) |
boolean |
BukkitWorld.setBlock(Vector pt,
Block block,
boolean notifyAdjacent) |
void |
BukkitWorld.setBlockData(Vector pt,
int data)
Set block data.
|
void |
BukkitWorld.setBlockDataFast(Vector pt,
int data)
Set block data.
|
boolean |
BukkitWorld.setBlockType(Vector pt,
int type)
Set block type.
|
boolean |
BukkitWorld.setBlockTypeFast(Vector pt,
int type)
Set block type.
|
void |
BukkitPlayer.setPosition(Vector pos,
float pitch,
float yaw) |
void |
BukkitCommandSender.setPosition(Vector pos,
float pitch,
float yaw) |
static boolean |
DefaultNmsBlock.setSafely(BukkitWorld world,
Vector position,
Block block,
boolean notifyAdjacent)
Tries to set a block 'safely', as in setting the block data to the location, and
then triggering physics only at the end.
|
static boolean |
NmsBlock.setSafely(org.bukkit.World world,
Vector vector,
Block block,
boolean notify) |
boolean |
BukkitWorld.setTypeIdAndData(Vector pt,
int type,
int data)
set block type & data
|
boolean |
BukkitWorld.setTypeIdAndDataFast(Vector pt,
int type,
int data)
set block type & data
|
void |
BukkitWorld.simulateBlockMine(Vector pt) |
static org.bukkit.Location |
BukkitUtil.toLocation(org.bukkit.World world,
Vector pt) |
| Modifier and Type | Method and Description |
|---|---|
Vector |
Selection.getNativeMaximumPoint()
Get the upper point of a region.
|
Vector |
RegionSelection.getNativeMaximumPoint() |
Vector |
Selection.getNativeMinimumPoint()
Get the lower point of a region.
|
Vector |
RegionSelection.getNativeMinimumPoint() |
| Constructor and Description |
|---|
CuboidSelection(org.bukkit.World world,
Vector pt1,
Vector pt2) |
| Modifier and Type | Field and Description |
|---|---|
protected Vector |
SelectionCylinderEvent.pos |
protected Vector |
SelectionEllipsoidPointEvent.pos |
protected Vector |
SelectionPointEvent.pos |
| Constructor and Description |
|---|
SelectionCylinderEvent(Vector pos,
Vector2D radius) |
SelectionEllipsoidPointEvent(int id,
Vector pos) |
SelectionPoint2DEvent(int id,
Vector pos,
int area) |
SelectionPointEvent(int id,
Vector pos,
int area) |
| Modifier and Type | Method and Description |
|---|---|
BaseBlock |
AnvilChunk.getBlock(Vector pos) |
BaseBlock |
OldChunk.getBlock(Vector pos) |
BaseBlock |
Chunk.getBlock(Vector pos)
Get a block;
|
int |
AnvilChunk.getBlockData(Vector pos) |
int |
OldChunk.getBlockData(Vector pos) |
int |
Chunk.getBlockData(Vector pos)
Get the block data of a block.
|
int |
AnvilChunk.getBlockID(Vector pos) |
int |
OldChunk.getBlockID(Vector pos) |
int |
Chunk.getBlockID(Vector pos)
Get the block ID of a block.
|
static BlockVector2D |
ChunkStore.toChunk(Vector pos)
Convert a position to a chunk.
|
| Modifier and Type | Method and Description |
|---|---|
Block |
World.getBlock(Vector location)
Get a copy of the block at the given location.
|
boolean |
World.setBlock(Vector location,
Block block,
boolean notifyAdjacent)
Change the block at the given location to the given block.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ForestGenerator.apply(Vector position) |
boolean |
FloraGenerator.apply(Vector position) |
boolean |
GardenPatchGenerator.apply(Vector position) |
| Modifier and Type | Method and Description |
|---|---|
Vector |
Interpolation.get1stDerivative(double position)
Gets the result of f'(position).
|
Vector |
KochanekBartelsInterpolation.get1stDerivative(double position) |
Vector |
LinearInterpolation.get1stDerivative(double position) |
Vector |
ReparametrisingInterpolation.get1stDerivative(double position) |
Vector |
Node.getPosition() |
Vector |
Interpolation.getPosition(double position)
Gets the result of f(position)
|
Vector |
KochanekBartelsInterpolation.getPosition(double position) |
Vector |
LinearInterpolation.getPosition(double position) |
Vector |
ReparametrisingInterpolation.getPosition(double position) |
| Modifier and Type | Method and Description |
|---|---|
void |
Node.setPosition(Vector position) |
| Constructor and Description |
|---|
Node(Vector position) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CombinedMask.matches(EditSession editSession,
Vector pos) |
boolean |
BiomeTypeMask.matches(EditSession editSession,
Vector pos) |
boolean |
Mask.matches(EditSession editSession,
Vector pos)
Given a block position, this method returns true if the block at
that position matches the filter.
|
boolean |
SolidBlockMask.matches(EditSession editSession,
Vector pos) |
boolean |
RandomMask.matches(EditSession editSession,
Vector pos) |
boolean |
InvertedMask.matches(EditSession editSession,
Vector pos) |
boolean |
DynamicRegionMask.matches(EditSession editSession,
Vector pos) |
boolean |
ExistingBlockMask.matches(EditSession editSession,
Vector pos) |
boolean |
InvertedBlockTypeMask.matches(EditSession editSession,
Vector pos)
Deprecated.
|
boolean |
RegionMask.matches(EditSession editSession,
Vector pos) |
boolean |
BlockMask.matches(EditSession editSession,
Vector pos) |
boolean |
UnderOverlayMask.matches(EditSession editSession,
Vector pos) |
void |
CombinedMask.prepare(LocalSession session,
LocalPlayer player,
Vector target) |
void |
Mask.prepare(LocalSession session,
LocalPlayer player,
Vector target)
Called one time before each edit session.
|
void |
InvertedMask.prepare(LocalSession session,
LocalPlayer player,
Vector target) |
void |
DynamicRegionMask.prepare(LocalSession session,
LocalPlayer player,
Vector target) |
void |
AbstractMask.prepare(LocalSession session,
LocalPlayer player,
Vector target) |
void |
UnderOverlayMask.prepare(LocalSession session,
LocalPlayer player,
Vector target) |
| Modifier and Type | Method and Description |
|---|---|
float |
RandomNoise.noise(Vector position) |
float |
NoiseGenerator.noise(Vector position)
Get the noise for the given position.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
RegionFunction.apply(Vector position)
Apply the function to the given position.
|
protected abstract boolean |
GroundFindingFunction.apply(Vector position,
BaseBlock block)
Apply the function to the given ground block.
|
protected boolean |
GroundScatterFunction.apply(Vector position,
BaseBlock block) |
protected boolean |
GroundFindingFunction.shouldPassThrough(Vector position,
BaseBlock block)
Returns whether the given block should be "passed through" when
conducting the ground search.
|
| Modifier and Type | Method and Description |
|---|---|
BaseBlock |
Pattern.next(Vector pos)
Get a block for a position.
|
BaseBlock |
RandomFillPattern.next(Vector pos)
Get next block.
|
BaseBlock |
SingleBlockPattern.next(Vector pos)
Get next block.
|
BaseBlock |
ClipboardPattern.next(Vector pos)
Get next block.
|
| Modifier and Type | Method and Description |
|---|---|
Vector |
EllipsoidRegion.getCenter()
Get the center.
|
Vector |
Region.getCenter()
Get the center point of a region.
|
Vector |
AbstractRegion.getCenter() |
Vector |
CylinderRegion.getCenter()
Returns the main center point of the cylinder
|
Vector |
ConvexPolyhedralRegion.getCenter() |
Vector |
CuboidRegion.getMaximumPoint()
Get the upper point of the cuboid.
|
Vector |
EllipsoidRegion.getMaximumPoint()
Get the upper point of the ellipsoid.
|
Vector |
Polygonal2DRegion.getMaximumPoint()
Get the upper point of a region.
|
Vector |
Region.getMaximumPoint()
Get the upper point of a region.
|
Vector |
CylinderRegion.getMaximumPoint()
Get the upper point of a region.
|
Vector |
ConvexPolyhedralRegion.getMaximumPoint() |
Vector |
CuboidRegion.getMinimumPoint()
Get the lower point of the cuboid.
|
Vector |
EllipsoidRegion.getMinimumPoint()
Get the lower point of the ellipsoid.
|
Vector |
Polygonal2DRegion.getMinimumPoint()
Get the lower point of a region.
|
Vector |
Region.getMinimumPoint()
Get the lower point of a region.
|
Vector |
CylinderRegion.getMinimumPoint()
Get the lower point of a region.
|
Vector |
ConvexPolyhedralRegion.getMinimumPoint() |
Vector |
CuboidRegion.getPos1()
Get position 1.
|
Vector |
CuboidRegion.getPos2()
Get position 2.
|
Vector |
EllipsoidRegion.getRadius()
Get the radiuses.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Vector> |
CuboidRegion.getChunkCubes() |
Set<Vector> |
Region.getChunkCubes()
Return a list of 16*16*16 chunks in a region
|
Set<Vector> |
AbstractRegion.getChunkCubes() |
Collection<Vector> |
ConvexPolyhedralRegion.getVertices() |
| Modifier and Type | Method and Description |
|---|---|
void |
Polygonal2DRegion.addPoint(Vector pt)
Add a point to the list.
|
boolean |
ConvexPolyhedralRegion.addVertex(Vector vertex)
Add a vertex to the region.
|
static boolean |
Polygonal2DRegion.contains(List<BlockVector2D> points,
int minY,
int maxY,
Vector pt)
Checks to see if a point is inside a region.
|
boolean |
CuboidRegion.contains(Vector pt)
Returns true based on whether the region contains the point,
|
boolean |
EllipsoidRegion.contains(Vector pt)
Returns true based on whether the region contains the point,
|
boolean |
Polygonal2DRegion.contains(Vector pt)
Checks to see if a point is inside this region.
|
boolean |
Region.contains(Vector pt)
Returns true based on whether the region contains the point.
|
boolean |
CylinderRegion.contains(Vector pt)
Checks to see if a point is inside this region.
|
boolean |
ConvexPolyhedralRegion.contains(Vector pt) |
void |
CuboidRegion.contract(Vector... changes)
Contracts the cuboid in a direction.
|
void |
EllipsoidRegion.contract(Vector... changes)
Contract the region.
|
void |
Polygonal2DRegion.contract(Vector... changes)
Contract the region.
|
void |
Region.contract(Vector... changes)
Contract the region.
|
void |
CylinderRegion.contract(Vector... changes)
Contract the region.
|
void |
ConvexPolyhedralRegion.contract(Vector... changes) |
void |
CuboidRegion.expand(Vector... changes)
Expands the cuboid in a direction.
|
void |
EllipsoidRegion.expand(Vector... changes)
Expand the region.
|
void |
Polygonal2DRegion.expand(Vector... changes)
Expand the region.
|
void |
Region.expand(Vector... changes)
Expand the region.
|
void |
CylinderRegion.expand(Vector... changes)
Expand the region.
|
void |
ConvexPolyhedralRegion.expand(Vector... changes) |
void |
Polygonal2DRegionSelector.explainPrimarySelection(LocalPlayer player,
LocalSession session,
Vector pos) |
void |
ExtendingCuboidRegionSelector.explainPrimarySelection(LocalPlayer player,
LocalSession session,
Vector pos) |
void |
CuboidRegionSelector.explainPrimarySelection(LocalPlayer player,
LocalSession session,
Vector pos) |
void |
ConvexPolyhedralRegionSelector.explainPrimarySelection(LocalPlayer player,
LocalSession session,
Vector pos) |
void |
EllipsoidRegionSelector.explainPrimarySelection(LocalPlayer player,
LocalSession session,
Vector pos) |
void |
CylinderRegionSelector.explainPrimarySelection(LocalPlayer player,
LocalSession session,
Vector pos) |
void |
RegionSelector.explainPrimarySelection(LocalPlayer player,
LocalSession session,
Vector pos)
Tell the player information about his/her primary selection.
|
void |
SphereRegionSelector.explainSecondarySelection(LocalPlayer player,
LocalSession session,
Vector pos) |
void |
Polygonal2DRegionSelector.explainSecondarySelection(LocalPlayer player,
LocalSession session,
Vector pos) |
void |
ExtendingCuboidRegionSelector.explainSecondarySelection(LocalPlayer player,
LocalSession session,
Vector pos) |
void |
CuboidRegionSelector.explainSecondarySelection(LocalPlayer player,
LocalSession session,
Vector pos) |
void |
ConvexPolyhedralRegionSelector.explainSecondarySelection(LocalPlayer player,
LocalSession session,
Vector pos) |
void |
EllipsoidRegionSelector.explainSecondarySelection(LocalPlayer player,
LocalSession session,
Vector pos) |
void |
CylinderRegionSelector.explainSecondarySelection(LocalPlayer player,
LocalSession session,
Vector pos) |
void |
RegionSelector.explainSecondarySelection(LocalPlayer player,
LocalSession session,
Vector pos)
Tell the player information about his/her secondary selection.
|
void |
EllipsoidRegion.extendRadius(Vector minRadius) |
boolean |
Polygonal2DRegionSelector.selectPrimary(Vector pos) |
boolean |
ExtendingCuboidRegionSelector.selectPrimary(Vector pos) |
boolean |
CuboidRegionSelector.selectPrimary(Vector pos) |
boolean |
ConvexPolyhedralRegionSelector.selectPrimary(Vector pos) |
boolean |
EllipsoidRegionSelector.selectPrimary(Vector pos) |
boolean |
CylinderRegionSelector.selectPrimary(Vector pos) |
boolean |
RegionSelector.selectPrimary(Vector pos)
Called when the first point is selected.
|
boolean |
SphereRegionSelector.selectSecondary(Vector pos) |
boolean |
Polygonal2DRegionSelector.selectSecondary(Vector pos) |
boolean |
ExtendingCuboidRegionSelector.selectSecondary(Vector pos) |
boolean |
CuboidRegionSelector.selectSecondary(Vector pos) |
boolean |
ConvexPolyhedralRegionSelector.selectSecondary(Vector pos) |
boolean |
EllipsoidRegionSelector.selectSecondary(Vector pos) |
boolean |
CylinderRegionSelector.selectSecondary(Vector pos) |
boolean |
RegionSelector.selectSecondary(Vector pos)
Called when the second point is selected.
|
void |
EllipsoidRegion.setCenter(Vector center)
Set the center.
|
void |
CylinderRegion.setCenter(Vector center)
Deprecated.
replaced by
CylinderRegion.setCenter(Vector2D) |
void |
CuboidRegion.setPos1(Vector pos1)
Set position 1.
|
void |
CuboidRegion.setPos2(Vector pos2)
Set position 2.
|
void |
EllipsoidRegion.setRadius(Vector radius)
Set radiuses.
|
void |
CuboidRegion.shift(Vector change) |
void |
EllipsoidRegion.shift(Vector change) |
void |
Polygonal2DRegion.shift(Vector change) |
void |
Region.shift(Vector change)
Shift the region.
|
void |
AbstractRegion.shift(Vector change) |
void |
CylinderRegion.shift(Vector change) |
void |
ConvexPolyhedralRegion.shift(Vector change) |
| Constructor and Description |
|---|
CuboidRegion(LocalWorld world,
Vector pos1,
Vector pos2)
Construct a new instance of this cuboid region.
|
CuboidRegion(Vector pos1,
Vector pos2)
Construct a new instance of this cuboid region.
|
CuboidRegionSelector(LocalWorld world,
Vector pos1,
Vector pos2) |
CylinderRegion(LocalWorld world,
Vector center,
Vector2D radius,
int minY,
int maxY)
Construct the region.
|
EllipsoidRegion(LocalWorld world,
Vector center,
Vector radius)
Construct a new instance of this ellipsoid region.
|
EllipsoidRegion(Vector pos1,
Vector pos2)
Construct a new instance of this ellipsoid region.
|
EllipsoidRegionSelector(LocalWorld world,
Vector center,
Vector radius) |
ExtendingCuboidRegionSelector(LocalWorld world,
Vector pos1,
Vector pos2) |
SphereRegionSelector(LocalWorld world,
Vector center,
int radius) |
| Modifier and Type | Method and Description |
|---|---|
Vector |
Triangle.getVertex(int index)
Returns the triangle's vertex with the given index, counter-clockwise.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Triangle.above(Vector pt)
Returns whether the given point is above the plane the triangle is in.
|
boolean |
Triangle.below(Vector pt)
Returns whether the given point is above the plane the triangle is in.
|
Triangle |
Edge.createTriangle(Vector vertex)
Generates a triangle from { this.start, this.end, vertex }
|
Triangle |
Edge.createTriangle2(Vector vertex) |
| Constructor and Description |
|---|
Edge(Vector start,
Vector end) |
Triangle(Vector v0,
Vector v1,
Vector v2)
Constructs a triangle with the given vertices (counter-clockwise)
|
| Modifier and Type | Method and Description |
|---|---|
Vector |
WorldEditExpressionEnvironment.toWorldRel(double x,
double y,
double z) |
| Modifier and Type | Method and Description |
|---|---|
void |
WorldEditExpressionEnvironment.setCurrentBlock(Vector current) |
| Constructor and Description |
|---|
WorldEditExpressionEnvironment(EditSession editSession,
Vector unit,
Vector zero) |
| Modifier and Type | Method and Description |
|---|---|
void |
HollowCylinderBrush.build(EditSession editSession,
Vector pos,
Pattern mat,
double size) |
void |
GravityBrush.build(EditSession editSession,
Vector pos,
Pattern mat,
double size) |
void |
ButcherBrush.build(EditSession editSession,
Vector pos,
Pattern mat,
double size) |
void |
SmoothBrush.build(EditSession editSession,
Vector pos,
Pattern mat,
double size) |
void |
ClipboardBrush.build(EditSession editSession,
Vector pos,
Pattern mat,
double size) |
void |
HollowSphereBrush.build(EditSession editSession,
Vector pos,
Pattern mat,
double size) |
void |
SphereBrush.build(EditSession editSession,
Vector pos,
Pattern mat,
double size) |
void |
CylinderBrush.build(EditSession editSession,
Vector pos,
Pattern mat,
double size) |
void |
Brush.build(EditSession editSession,
Vector pos,
Pattern mat,
double size)
Build the object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
TreeGenerator.generate(EditSession editSession,
Vector pos)
Generate a tree.
|
boolean |
TreeGenerator.TreeType.generate(EditSession editSession,
Vector pos) |
Copyright © 2010-2014. All Rights Reserved.