Any reason for not using
Minecraft.getMinecraft().renderEngine.bindTexture(texture);
instead of the old client texture manager? Don't think that's causing your problem, but I think it's worth a try.
Should have clarified, this is Forge 1.7.10. The PlayerInteractEvent (or PlaceEvent with fire) works just fine - as long as the player directly lights the portal. However, if they were to say, light a block of wood on fire inside a portal frame, it doesn't help much.
Reflection, my friend.
http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/2151027-1-7-x-using-reflection-to-modify-vanilla-values
They don't necessarily have to be Vanilla values.
Hello, I'm new.
For my WIP Mod, SnowTech, I need to be able to stop Nether Portals from opening, no matter what tricks the player tries. I've poked about, but I can't seem to find the code responsible for Nether Portals opening (I tried Fire, Flint+Steel, and Obsidian classes), nor can I seem to find a hook for this. If you guys know of a way to do this, that would be great.
Thanks,
JavaMatrix
In your constructor:
Blocks.fire.setFireInfo(this, 5, 20);
5 is the encouragement value, 20 is the flammability (these are the values for wooden planks).