Posted August 7, 20223 yr 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?
August 7, 20223 yr In general you can use Forge-Bot on the Forge discord server. But if you want to updated a project this would be the easiest way to do it.
August 7, 20223 yr 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.
August 7, 20223 yr 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.