Would it be at all possible for a hook to be added to Forge for the Beacon Block so as to add gem blocks that are added by mods would count as valid for the Beacon to give players around it the buffs that the B.B does with diamond, gold, emerald or iron blocks?
I ask as someone on the IndustrialCraft2 forums asked an addon developer by the name of GregoriusT if would be possible to be able to use his gem block (made in the IC2 Compressor through his addon GregTech). GregT replied that if there was a hook for this then he would. (Link to post: http://forum.industrial-craft.net/index.php?page=Thread&postID=86037#post86037)
I would attempt to provide code, but I'm rather new to Minecraft modding and all I've actually done are small base file edits (yuck...) and am really only just starting to get into what I call "big time modding" with Forge.
Thanks in advance.
EDIT: For the sake of ease of reference, sciguyryan pointed out that there would have to be another hook, or be contained within the hook itself, a way that gems belonging to other mods could be used as payment for activating the Beacon.
EDIT2: sciguyryan actually PM'ed me a sample of the hook that would have to be added in the TileEntityBeacon.class under the method func_82131_u specifically:
if (var6 != Block.blockEmerald.blockID && var6 != Block.blockGold.blockID && var6 != Block.blockDiamond.blockID && var6 != Block.blockSteel.blockID)
Like I mentioned, I'm new to modding so I'll leave this one to the big dogs.