hey im rather new to this .. but it seems i need some code out from BlockMuliID
that class is inside the common map and it has this inside it.
and i need to know what that part it in order to be able to use this:
Code
try { sideAndFacingToSpriteOffset = (int[][])Class.forName("ic2.common.BlockMultiID").getField("sideAndFacingToSpriteOffset").get(null); } catch (Exception e) { sideAndFacingToSpriteOffset = new int[][]{ { 3, 2, 0, 0, 0, 0 }, { 2, 3, 1, 1, 1, 1 }, { 1, 1, 3, 2, 5, 4 }, { 0, 0, 2, 3, 4, 5 }, { 4, 5, 4, 5, 3, 2 }, { 5, 4, 5, 4, 2, 3 } }; }
i need that pice of code so i can have 1 blockclass in order to have difrent texture on my damage blocks...
becose all i try so far dint work
and i tryd alot.
P.S. []Code dusnt accept enter
greets