Whitespace + general cleanup

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot
2011-05-14 23:22:54 +02:00
parent 8217ff1836
commit 855f4133b6
216 changed files with 1649 additions and 1637 deletions

View File

@@ -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();
}