navybofus Posted February 26, 2014 Posted February 26, 2014 I'm upgrading from 1.6 to 1.7 and haven't found it yet. Quote http://i43.tinypic.com/95v5n9.png[/img]
Draco18s Posted February 26, 2014 Posted February 26, 2014 I believe it was replaced by an event handler. Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
navybofus Posted February 26, 2014 Author Posted February 26, 2014 Right now I'm using MinecraftForge.EVENT_BUS.register(.class) in hopes of getting my class that implements INetHandler to register. But putting a System.out in there shows nothing in the console. I'm sure this is my lack of java knowledge that's making this difficult. But in 1.6.4 we just registered a tick handler and looked through the event stuff with no avail. Quote http://i43.tinypic.com/95v5n9.png[/img]
Draco18s Posted February 26, 2014 Posted February 26, 2014 @SubscribeEvent public void tick(ClientTickEvent event) { ... } ? Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
Endyl Posted February 26, 2014 Posted February 26, 2014 IIRC for TickEvents you should register your eventhandler instances with FMLCommonHandler.instance().bus().register(). Check out the subclasses of TickEvent for specific types of ticks. Quote
navybofus Posted February 26, 2014 Author Posted February 26, 2014 There it is! Thanks! Well everything is without error at least. Quote http://i43.tinypic.com/95v5n9.png[/img]
Recommended Posts
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.