New Building on da Block!

This commit is contained in:
WayofTime 2014-06-22 20:51:02 -04:00
parent 126a38c30c
commit 896810ad59
14 changed files with 897 additions and 21 deletions

View file

@ -23,8 +23,8 @@ public class ShapedBloodOrbRecipe implements IRecipe {
private ItemStack output = null;
private Object[] input = null;
private int width = 0;
private int height = 0;
public int width = 0;
public int height = 0;
private boolean mirrored = true;
public ShapedBloodOrbRecipe(Block result, Object... recipe) {

View file

@ -107,8 +107,8 @@ public class NEIBloodOrbShapedHandler extends ShapedRecipeHandler {
int width;
int height;
try {
width = ReflectionManager.getField(ShapedBloodOrbRecipe.class, Integer.class, recipe, 4);
height = ReflectionManager.getField(ShapedBloodOrbRecipe.class, Integer.class, recipe, 5);
width = recipe.width;
height = recipe.height;
} catch (Exception e) {
e.printStackTrace();
return null;