Posted December 4, 201311 yr What is the easiest way to add a new component to the nether fortress generator? Thanks in advance. http://i.imgur.com/4OtsrTz.png[/img]
January 14, 201411 yr Author How exactly should I do this? I haven't really done anything with events before. http://i.imgur.com/4OtsrTz.png[/img]
January 14, 201411 yr http://www.minecraftforge.net/wiki/Event_Reference You are looking for "Terrain Events" on the bottom of page. In your MainMod you register it in preInit(): MinecraftForge.TERRAIN_GEN_BUS.register(new MyTerrainEvent()); Then you create MyTerrainEvent.class which for example can look like this: public class MyTerrainEvent { @ForgeSubscribe public void changeTerrain([eventname] event) { } @ForgeSubscribe public void changeTerrainInNether([eventname] event) { } } Oh, and look into net.minecraftforge.event.* 1.7.10 is no longer supported by forge, you are on your own.
January 21, 201411 yr Author Ok, so I got the event check working, but how exactly do I add the new component? Sorry for asking for details, I'm a complete forge noob. http://i.imgur.com/4OtsrTz.png[/img]
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.