Hello, everyone. I'm currently working on a Golems+ mod, and everything's working great - the AI is good, the models are fine, etc...
But I'm trying to add achievements for spawning the different golems, because some require some real resources to make, and I don't want people to think "Oh, I just spent four diamond blocks making that thing and I don't even get an achievement?"
(Sorry if my grammar sucks, it's late here and I can't see what I'm typing.)
I've been looking around, and from the looks of it, nobody has any tutorials on achievement triggers other than crafting/furnaces.
The goal is to trigger the achievement once the pumpkin/blocks have been arranged properly, like in the case of the Diamond Golem, which follows the same layout as the Iron Golem recipe, except with diamond blocks. (No, it's not a lame knockoff.)
My goal is to trigger the spawnDiamondGolem achievement when the blocks are arranged like so as well as spawning the Diamond Golem, but the only code I can find for it is in BlockPumpkin.java, which holds the golem-spawning code once blocks are arranged properly. (I can't trigger achievements from BlockPumpkin - I've tried that several times using independent instances of EntityPlayer, as the parameters for onBlockPlaced don't include EntityPlayer.)