Posted May 14, 201411 yr 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 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!
May 14, 201411 yr IconRegister -> IIconRegister, Icon -> IIcon, registerIcons -> registerBlockIcons. Yes Forge Wiki PlayerEvents, look in FML gameevents package @SubscribeEvent TickEvents, look in FML gameevents package
May 14, 201411 yr Author Thank You 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!
May 14, 201411 yr player.getCommandSenderName() or player.getUniqueId(), depending on what you want to do with it.
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.