Posted July 7, 201411 yr I am looking for the 1.7.2 equivelant of IConnectionHandler.connectionReceived(NetLoginHandler netHandler, INetworkManager manager); I am not used to the new Event System. And I cannot find a NetworkEvent.
July 7, 201411 yr Create class with methods @SubscribeEvent public void onLogout(PlayerEvent.PlayerLoggedOutEvent event) {} @SubscribeEvent public void onLogin(PlayerEvent.PlayerLoggedInEvent event) {} And register it with FMLCommonHandler.instance().bus().register(new YourClass());
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.