diff options
Diffstat (limited to 'src/main/java/org/bukkit/block/Block.java')
-rw-r--r-- | src/main/java/org/bukkit/block/Block.java | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/main/java/org/bukkit/block/Block.java b/src/main/java/org/bukkit/block/Block.java index 0ec7e0ed..f66b3e0c 100644 --- a/src/main/java/org/bukkit/block/Block.java +++ b/src/main/java/org/bukkit/block/Block.java @@ -12,6 +12,7 @@ import org.bukkit.Location; * block which will not be modified. */ public interface Block { + /** * Gets the metadata for this block * @@ -135,7 +136,7 @@ public interface Block { * @param data New block specific metadata */ void setData(byte data); - + void setData(byte data, boolean applyPhyiscs); /** @@ -152,9 +153,9 @@ public interface Block { * @return whether the block was changed */ boolean setTypeId(int type); - + boolean setTypeId(int type, boolean applyPhysics); - + boolean setTypeIdAndData(int type, byte data, boolean applyPhyiscs); /** @@ -220,19 +221,19 @@ public interface Block { * @return */ boolean isBlockFaceIndirectlyPowered(BlockFace face); - + /** * Returns the redstone power being provided to this block face - * + * * @param face the face of the block to query or BlockFace.SELF for the block itself - * @return + * @return */ int getBlockPower(BlockFace face); /** * Returns the redstone power being provided to this block - * - * @return + * + * @return */ int getBlockPower(); } |