Posted February 1, 201510 yr I am updating a mod that I was working on a while ago, and I haven't modded minecraft for a while now and I don't remember a lot of stuff. One of the issues I am facing is forge events here are some questions I have: 1) Where are the events located now 2) How do I subscribe to events now, do I just use (FMLCommonHandler.instance().bus().register()) because (MinecraftForge.EVENT_BUSE) apparently does not exist any more. 3) What was the event named that was called every time a player logs onto a world Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!
February 1, 201510 yr 1. In several places: net.minecraftforge.event and net.minecraftforge.fml.common.gameevent 2. MinecraftForge.EVENT_BUS (no E on the end...) is for the first mentioned above, FML bus for the second 3. PlayerLoggedInEvent, on the FML bus http://i.imgur.com/NdrFdld.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.