DaPorkchop_ Posted December 1, 2016 Share Posted December 1, 2016 Title says it all. I've used ASM to change a few fields from private to public. As expected, it still shows up as an error in Eclipse because "field is not visible", and Gradle can't "gradle build" for the same reason. How am I supposed to overcome this? I know that there's got to be a way (or else there wouldn't be any CoreMods at all) but finding a good tutorial was hard enough, I can't find any information on my issue at all. Anybody here know anything? Quote "Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why. Programmers combine theory and practice: Nothing works and they don't know why." -- Unknown Link to comment Share on other sites More sharing options...
Draco18s Posted December 1, 2016 Share Posted December 1, 2016 Well, there is a way. But: a) what you've done is the wrong way to make a coremod b) coremods aren't supported here, so its not like I'll tell you what you should be doing Because basically, you've resorted to ASM before Reflection. ASM is always the last solution. In order: Overrides Events Substitution Reflection Ask on the forums to see if you've missed one or more of the above Forge Pull Request Cry in a corner Abandon all hope and abandon feature ASM Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given. Link to comment Share on other sites More sharing options...
Recommended Posts
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.