Mecblader Posted May 14, 2014 Share Posted May 14, 2014 Hello I am updating my mod to 1.7.2 and my mod is not do to well right now. I have a few question about things that have been changed in forge and minecraft in general. Simple Questions 1.How do you initialize textures now 2.What happended to player.username, should I use player.getDisplayName() as an alternative? A Bit More Complicated Questions 1. I heard that the packet handling system is completely different now, if so what are some good tutorials that can help me with rewriting a basic packet handler or at least tell me how they work. 2. What happened to PlayerTracker and is there a replacement? 3. What happened to @ForgeSubscribe for event handlers? 4. What about Tick Handlers? Basically I would like references or tutorials or even brief explanation of these questions Please put what number and the section you are answering about because this may be useful to others updating All Help is Appreciated, Thank You Quote 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! Link to comment Share on other sites More sharing options...
Parker8283 Posted May 14, 2014 Share Posted May 14, 2014 IconRegister -> IIconRegister, Icon -> IIcon, registerIcons -> registerBlockIcons. Yes Forge Wiki PlayerEvents, look in FML gameevents package @SubscribeEvent TickEvents, look in FML gameevents package Quote Link to comment Share on other sites More sharing options...
Mecblader Posted May 14, 2014 Author Share Posted May 14, 2014 Thank You Quote 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! Link to comment Share on other sites More sharing options...
GotoLink Posted May 14, 2014 Share Posted May 14, 2014 player.getCommandSenderName() or player.getUniqueId(), depending on what you want to do with it. Quote Link to comment Share on other sites More sharing options...
MoxEmerald Posted May 16, 2014 Share Posted May 16, 2014 @ForgeSubscribe to @SubscribeEvent Quote Link to comment Share on other sites More sharing options...
coolboy4531 Posted May 16, 2014 Share Posted May 16, 2014 @NetworkMod is no longer required. Quote Link to comment Share on other sites More sharing options...
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.