Jump to content

What version of Forge should I use for modding?


deathchanter

Recommended Posts

Hi, I'm now trying to make my block's affiliated tile entity update using onBlockActivated(). But seems this method doesn't exist in the latest Forge version for 1.16.5...where in earlier tutorials I see peoples using it.

So in general, which version offers the most complete and deobfuscated code to work with? Thanks!

Link to comment
Share on other sites

Latest forge version uses mojang mappings i believe...finding the equivalent of onBlockActivated shouldn't be too difficult...you can look into the code of other blocks that you know are using that method and see what the new name is

Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port

Link to comment
Share on other sites

12 hours ago, deathchanter said:

By the way, in this version I still see a lot of random variable names like p_196271_3_...why is it so if we have mappings?

I believe the mappings take care of method and field names, but not parameter names. I thought I saw somewhere there was a project going on working to give them names, but I haven't got and more info on that. :)

Link to comment
Share on other sites

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.