summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/block/Block.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/block/Block.java b/src/main/java/org/bukkit/block/Block.java
index 38e84415..235c15bd 100644
--- a/src/main/java/org/bukkit/block/Block.java
+++ b/src/main/java/org/bukkit/block/Block.java
@@ -187,6 +187,14 @@ public interface Block extends Metadatable {
void setType(Material type);
/**
+ * Sets the type of this block
+ *
+ * @param type Material to change this block to
+ * @param applyPhysics False to cancel physics on the changed block.
+ */
+ void setType(Material type, boolean applyPhysics);
+
+ /**
* Sets the type-id of this block
*
* @param type Type-Id to change this block to