- * This value can be -1 if no side is specified. Please handle this appropriately. - * @return The block inside of your facade block. - */ - Block getFacade(IBlockAccess world, int x, int y, int z, int side); +public interface IFacade { - /** - * Gets the metadata of the block that this facade is acting as. - * - * @param world {@link World} - * @param x X coord of your block - * @param y Y coord of your block - * @param z Z coord of your block - * @param side The side being rendered, NOT the side being connected from. - *
- * This value can be -1 if no side is specified. Please handle this appropriately. - * @return The metadata of your facade block. - */ - int getFacadeMetadata(IBlockAccess world, int x, int y, int z, int side); + /** + * Gets the block this facade is acting as. + * + * @param world + * {@link World} + * @param x + * X coord of your block + * @param y + * Y coord of your block + * @param z + * Z coord of your block + * @param side + * The side being rendered, NOT the side being connected from. + *
+ * This value can be -1 if no side is specified. Please handle this appropriately. + * @return The block inside of your facade block. + */ + Block getFacade(IBlockAccess world, int x, int y, int z, int side); + + /** + * Gets the metadata of the block that this facade is acting as. + * + * @param world + * {@link World} + * @param x + * X coord of your block + * @param y + * Y coord of your block + * @param z + * Z coord of your block + * @param side + * The side being rendered, NOT the side being connected from. + *
+ * This value can be -1 if no side is specified. Please handle this appropriately.
+ * @return The metadata of your facade block.
+ */
+ int getFacadeMetadata(IBlockAccess world, int x, int y, int z, int side);
}
\ No newline at end of file
diff --git a/src/main/java/com/cricketcraft/chisel/api/Statistics.java b/src/main/java/com/cricketcraft/chisel/api/Statistics.java
index b34c5cc5..64e8c6b7 100644
--- a/src/main/java/com/cricketcraft/chisel/api/Statistics.java
+++ b/src/main/java/com/cricketcraft/chisel/api/Statistics.java
@@ -6,10 +6,10 @@ import net.minecraft.util.ChatComponentTranslation;
public class Statistics {
- public static StatBase blocksChiseled = (new StatBasic("stat.blockChiseled", new ChatComponentTranslation("stat.blockChiseled", new Object[0])));
+ public static StatBase blocksChiseled = (new StatBasic("stat.blockChiseled", new ChatComponentTranslation("stat.blockChiseled", new Object[0])));
- public static void init(){
- blocksChiseled.initIndependentStat();
- blocksChiseled.registerStat();
- }
+ public static void init() {
+ blocksChiseled.initIndependentStat();
+ blocksChiseled.registerStat();
+ }
}
diff --git a/src/main/java/com/cricketcraft/chisel/api/carving/CarvableHelper.java b/src/main/java/com/cricketcraft/chisel/api/carving/CarvableHelper.java
index 85986dca..6decc1e2 100644
--- a/src/main/java/com/cricketcraft/chisel/api/carving/CarvableHelper.java
+++ b/src/main/java/com/cricketcraft/chisel/api/carving/CarvableHelper.java
@@ -26,42 +26,42 @@ import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class CarvableHelper {
-
+
public static Class extends ItemBlock> itemCarvableClass = null;
private Block theBlock;
-
+
public ArrayList