Jump to content

[SOLVED] Method/Function name mappings


M1ntcraft3r

Recommended Posts

Hi all,

 

so I upgraded my mod and it all went pretty well except for most of the function names from external libraries not updating.

 

As an example, in my old mod I was using 

GlStateManager.pushMatrix();

 

And it had no issue finding this method. However, now it's unable to find it.

After looking int the GlStateManager I found:

 

   public static void func_227626_N_() {
      RenderSystem.assertThread(RenderSystem::isOnRenderThread);
      GL11.glPushMatrix();
   }

 

which is the method/function and I am sure if I changed it it would work, but how do I get the old mappings back please???

 

Also, the same happens with 

 

playerEntity.getPosX()

 

which used to call

   public final double getPosX() {
      return this.posX;
   }

from the Entity class

 

================================================================================================

 

Turns out I forgot to update the mapping in the build.gradle

 

 

 

 

 

 

 

 

 

Edited by M1ntcraft3r
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.