ExtrabiomesXL/ExtrabiomesXL — pull request #290 by JLBShecky (2013-05-31 05:45:51+00:00)
Title: NEI Compatibility Fixes / Standardization

In trying to track down why NEI was showing an invalid sapling (subblock
7) in my last patch, the naive fix that I put in allowed newer versions
of NEI to attempt to access a out of bounds texture due. I think I have
finally nailed it down with this patch.

From what I was able to track down some of the blocks, but not all were
only returning the subblock info if it was requested from the EbXL
creative tab, so when NEI or anything else asked for the valid subblocks
it was not returning anything meaning that NEI had to try all possible
subblocks. The patch will definitely need someone else's eyes on it, but
I checked my changes against vanilla blocks and a couple other mods to
see how they did things to make sure I was going along the same line.

(I manged to get in about 1 hour of play testing doing quite a bit of crafting and did not have anything showing up in the logs from us using this commit., but it still needs review in my opinion.)