public class Cuboid
extends java.lang.Object
| Constructor and Description |
|---|
Cuboid() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearCube(org.bukkit.Location loc1,
org.bukkit.Location loc2)
Clear cuboid
|
static void |
cutBlock(org.bukkit.Location loc1,
org.bukkit.Location loc2)
Remove blocks in cuboid
|
static java.lang.Integer |
generateWalls(org.bukkit.Location loc1,
org.bukkit.Location loc2,
org.bukkit.Material material)
Generate walls
|
static java.util.List<org.bukkit.block.Block> |
getBlockList(org.bukkit.Location loc1,
org.bukkit.Location loc2)
Get block into a cuboid
|
static java.util.List<org.bukkit.block.Block> |
getBlockListWithFilter(org.bukkit.Location loc1,
org.bukkit.Location loc2,
java.util.List<org.bukkit.block.Block> filter)
Get block into a cuboid with filter
|
static java.util.List<org.bukkit.block.Block> |
getBlockListWithFilterWithoutAir(org.bukkit.Location loc1,
org.bukkit.Location loc2,
java.util.List<org.bukkit.block.Block> filter)
Get block into a cuboid with filter without air
|
static java.util.List<org.bukkit.block.Block> |
getBlockListWithoutAIR(org.bukkit.Location loc1,
org.bukkit.Location loc2)
Get block without air
|
static org.bukkit.Location |
getCenter(org.bukkit.Location corner1,
org.bukkit.Location corner2)
Get cuboid center
|
static CuboidObject |
getCuboidObject(java.lang.String CuboidName,
org.bukkit.Location loc1,
org.bukkit.Location loc2)
Create a cuboid object
|
static java.util.List<org.bukkit.block.Block> |
getWalls(org.bukkit.Location loc1,
org.bukkit.Location loc2)
Get blocks in walls
|
static java.lang.Boolean |
isInCube(org.bukkit.block.Block b,
org.bukkit.Location corner1,
org.bukkit.Location corner2)
Check if block is in cube
|
static java.lang.Boolean |
isInCube(org.bukkit.entity.Entity ent,
org.bukkit.Location corner1,
org.bukkit.Location corner2)
Check if entity is in cube
|
static java.lang.Boolean |
isInCube(org.bukkit.Location loc,
org.bukkit.Location corner1,
org.bukkit.Location corner2)
Check if location is in cube
|
static java.lang.Integer |
replaceBlocks(org.bukkit.Location loc1,
org.bukkit.Location loc2,
org.bukkit.Material material)
Replace all blocks
|
static java.lang.Integer |
replaceBlocksByBlock(org.bukkit.Location loc1,
org.bukkit.Location loc2,
org.bukkit.Material toReplace,
org.bukkit.Material New)
Replace specified blocks
|
static java.lang.Integer |
replaceBlocksInWallsByBlock(org.bukkit.Location loc1,
org.bukkit.Location loc2,
org.bukkit.Material toReplace,
org.bukkit.Material New)
Replace specified blocks in walls
|
static java.lang.Integer |
replaceWalls(org.bukkit.Location loc1,
org.bukkit.Location loc2,
org.bukkit.Material material)
Replace walls
|
public static java.lang.Integer replaceBlocks(org.bukkit.Location loc1,
org.bukkit.Location loc2,
org.bukkit.Material material)
loc1 - loc2 - material - public static java.lang.Integer replaceBlocksByBlock(org.bukkit.Location loc1,
org.bukkit.Location loc2,
org.bukkit.Material toReplace,
org.bukkit.Material New)
loc1 - loc2 - toReplace - New - public static java.lang.Integer replaceWalls(org.bukkit.Location loc1,
org.bukkit.Location loc2,
org.bukkit.Material material)
loc1 - loc2 - material - public static java.lang.Integer replaceBlocksInWallsByBlock(org.bukkit.Location loc1,
org.bukkit.Location loc2,
org.bukkit.Material toReplace,
org.bukkit.Material New)
loc1 - loc2 - toReplace - New - public static java.lang.Integer generateWalls(org.bukkit.Location loc1,
org.bukkit.Location loc2,
org.bukkit.Material material)
loc1 - loc2 - material - public static void clearCube(org.bukkit.Location loc1,
org.bukkit.Location loc2)
loc1 - loc2 - public static void cutBlock(org.bukkit.Location loc1,
org.bukkit.Location loc2)
loc1 - loc2 - public static java.util.List<org.bukkit.block.Block> getWalls(org.bukkit.Location loc1,
org.bukkit.Location loc2)
loc1 - loc2 - public static java.util.List<org.bukkit.block.Block> getBlockList(org.bukkit.Location loc1,
org.bukkit.Location loc2)
min - max - public static java.util.List<org.bukkit.block.Block> getBlockListWithFilter(org.bukkit.Location loc1,
org.bukkit.Location loc2,
java.util.List<org.bukkit.block.Block> filter)
min - max - filter - public static java.util.List<org.bukkit.block.Block> getBlockListWithFilterWithoutAir(org.bukkit.Location loc1,
org.bukkit.Location loc2,
java.util.List<org.bukkit.block.Block> filter)
filter - public static java.util.List<org.bukkit.block.Block> getBlockListWithoutAIR(org.bukkit.Location loc1,
org.bukkit.Location loc2)
min - max - public static java.lang.Boolean isInCube(org.bukkit.block.Block b,
org.bukkit.Location corner1,
org.bukkit.Location corner2)
b - loc1 - loc2 - public static java.lang.Boolean isInCube(org.bukkit.Location loc,
org.bukkit.Location corner1,
org.bukkit.Location corner2)
loc - corner1 - corner2 - public static java.lang.Boolean isInCube(org.bukkit.entity.Entity ent,
org.bukkit.Location corner1,
org.bukkit.Location corner2)
ent - loc1 - loc2 - public static org.bukkit.Location getCenter(org.bukkit.Location corner1,
org.bukkit.Location corner2)
public static CuboidObject getCuboidObject(java.lang.String CuboidName, org.bukkit.Location loc1, org.bukkit.Location loc2)
CuboidName - loc1 - loc2 -