Some work on the new api

This commit is contained in:
modmuss50 2016-04-03 14:07:45 +01:00
parent 3d819967be
commit df61729d6f
69 changed files with 1380 additions and 1413 deletions

View file

@ -59,7 +59,7 @@ public class BlockOre extends BaseBlock implements ITexturedBlock, IOreNameProvi
return new ItemStack(ModBlocks.ore, count, i);
}
}
throw new InvalidParameterException("The ore block " + name + " could not be found.");
return BlockOre2.getOreByName(name, count);
}
public static ItemStack getOreByName(String name)