Jump to content

Recommended Posts

Posted

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!

Posted

IconRegister -> IIconRegister, Icon -> IIcon, registerIcons -> registerBlockIcons.

Yes

 

Forge Wiki

PlayerEvents, look in FML gameevents package

@SubscribeEvent

TickEvents, look in FML gameevents package

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.