summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authorErik Broes <erikbroes@grum.nl>2011-01-15 21:02:47 +0100
committerErik Broes <erikbroes@grum.nl>2011-01-15 21:02:47 +0100
commit98c8f57996e4231efa50755c87e38cc211174750 (patch)
tree95ed50e42c9d3c65b28b1892adf6e4de3b2c1d84 /src/main/java/org
parent7754b088934439f27aaf05ef114470a3e021afeb (diff)
downloadbukkit-98c8f57996e4231efa50755c87e38cc211174750.tar
bukkit-98c8f57996e4231efa50755c87e38cc211174750.tar.gz
bukkit-98c8f57996e4231efa50755c87e38cc211174750.tar.lz
bukkit-98c8f57996e4231efa50755c87e38cc211174750.tar.xz
bukkit-98c8f57996e4231efa50755c87e38cc211174750.zip
Added int getBlockTypeIdAt(int x, int y, int z) to World
Diffstat (limited to 'src/main/java/org')
-rwxr-xr-x[-rw-r--r--]src/main/java/org/bukkit/World.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java
index bbf31035..45acbeca 100644..100755
--- a/src/main/java/org/bukkit/World.java
+++ b/src/main/java/org/bukkit/World.java
@@ -21,6 +21,16 @@ public interface World {
public Block getBlockAt(int x, int y, int z);
/**
+ * Gets the block type-id at the given location
+ *
+ * @param x X-coordinate of the block
+ * @param y Y-coordinate of the block
+ * @param z Z-coordinate of the block
+ * @return TypeId of the block at the given location
+ */
+ public int getBlockTypeIdAt(int x, int y, int z);
+
+ /**
* Gets the highest non-air coordinate at the given (x,z) location
* @param x X-coordinate of the blocks
* @param z Z-coordinate of the blocks