Jump to content

Recommended Posts

Posted

I would like to understand how to translate classes or methods from lower versions, for example, in 1.19.2 i cant find the method .pushMatrix(), .popMatrix(), translatef(), etc (from the class GLStateManager)

 

First: what are the new names of those methods

and Second: is there a website or something that translates classes/methods from different forge versions?

 

 

Posted

There are some guides here for the incremental changes across versions:

https://docs.minecraftforge.net/en/latest/legacy/porting/

e.g. your question is answered in this one

https://gist.github.com/williewillus/30d7e3f775fe93c503bddf054ef3f93e

 

This link contains a tool to automate forge api porting from 1.18.2 to 1.19, along with a list of those changes

https://forums.minecraftforge.net/topic/114502-forge-411-minecraft-119/#comment-507843

 

Then there is the tool described in the previous post to convert from the old forge deobfuscation mappings, to Mojang's official mappings.

 

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Posted
Quote

There are some guides here for the incremental changes across versions:

https://docs.minecraftforge.net/en/latest/legacy/porting/

Although one problem with those documents is that they refer to the old forge mappings before 1.17.

e.g. MatrixStack is called PoseStack by Mojang.

They still might be helpful for understanding what changed.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

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.