MrTJP/ProjectRed — pull request #41 by taelnia (2013-07-26 02:09:20+00:00)
Title: Try #2 to allow all mod blocks as microblocks

I failed to notice in my previous attempt(reverted in commit 1f45efbd254ba00c613e84c5822028def86061af) that Block.getSubItems was client side only. I didn't see any crash reports on the forums relating to blockList, so I'm hoping that this attempt will fix any crash you encountered.

I have tested this on a dedicated server along with matching client with about 80 or so mods(Including Buildcraft, Forestry, Biomes O'Plenty, Railcraft, Traincraft, Thermal Expansion, Factorization). I did not encounter any crash bugs on startup, and all my other mod blocks that pass the filter for opaqueness/tileentity/non-normal rendering were available as microblocks.

There were some glitches in the NEI item display related to Forestry woods that don't exist, but are in the middle of the meta range for their wood block. As these items are only visible through NEI, it is not a major game breaking bug. Taking a normally obtained mod block and using a saw on it should result in a properly named microblock.