Jump to content

ASM transformer not working


planetguy

Recommended Posts

Recently I've been annoyed by portals in the overworld creating portals in the nether that could not under any circumstances lead back to them. I fixed it with a base-class edit, but that doesn't have the clean distribution coremods allow, so based on some examples, I made it into a coremod. I change a variable definition from a constant to a call to my mod's function. The function is properly called, but the constant from vanilla is still used (I checked by adding a print statement to the class, and it doesn't match what my function returns.)

 

Source code:

https://github.com/planetguy32/Gizmos/blob/master/planetguy/portalmod/NoCrosslinkASMTransformer.java

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.