55import net .minecraft .world .World ;
66
77/**
8- * To be implemented on blocks that "hide" another block inside, so connected textuers can still be
9- * accomplished.
8+ * To be implemented on blocks that "hide" another block inside, so connected textuers can still be accomplished.
109 */
11- public interface IFacade
12- {
13- /**
14- * Gets the block this facade is acting as.
15- *
16- * @param world {@link World}
17- * @param x X coord of your block
18- * @param y Y coord of your block
19- * @param z Z coord of your block
20- * @param side The side being rendered, NOT the side being connected from.
21- * <p>
22- * This value can be -1 if no side is specified. Please handle this appropriately.
23- * @return The block inside of your facade block.
24- */
25- Block getFacade (IBlockAccess world , int x , int y , int z , int side );
10+ public interface IFacade {
2611
27- /**
28- * Gets the metadata of the block that this facade is acting as.
29- *
30- * @param world {@link World}
31- * @param x X coord of your block
32- * @param y Y coord of your block
33- * @param z Z coord of your block
34- * @param side The side being rendered, NOT the side being connected from.
35- * <p>
36- * This value can be -1 if no side is specified. Please handle this appropriately.
37- * @return The metadata of your facade block.
38- */
39- int getFacadeMetadata (IBlockAccess world , int x , int y , int z , int side );
12+ /**
13+ * Gets the block this facade is acting as.
14+ *
15+ * @param world
16+ * {@link World}
17+ * @param x
18+ * X coord of your block
19+ * @param y
20+ * Y coord of your block
21+ * @param z
22+ * Z coord of your block
23+ * @param side
24+ * The side being rendered, NOT the side being connected from.
25+ * <p>
26+ * This value can be -1 if no side is specified. Please handle this appropriately.
27+ * @return The block inside of your facade block.
28+ */
29+ Block getFacade (IBlockAccess world , int x , int y , int z , int side );
30+
31+ /**
32+ * Gets the metadata of the block that this facade is acting as.
33+ *
34+ * @param world
35+ * {@link World}
36+ * @param x
37+ * X coord of your block
38+ * @param y
39+ * Y coord of your block
40+ * @param z
41+ * Z coord of your block
42+ * @param side
43+ * The side being rendered, NOT the side being connected from.
44+ * <p>
45+ * This value can be -1 if no side is specified. Please handle this appropriately.
46+ * @return The metadata of your facade block.
47+ */
48+ int getFacadeMetadata (IBlockAccess world , int x , int y , int z , int side );
4049}
0 commit comments