bubub98 Posted March 14, 2013 Posted March 14, 2013 When I say edit I mean change the code to make a mod, such as the mod for Quantum armor, and make it so the armor doesn't make the player god like. I just would like to lower the protection Quote
gotyaoi Posted March 14, 2013 Posted March 14, 2013 don't bump your own post, It's bad form. Anyway, if the mod provides a configuration file that has an option that does what you want, you can use that. Else decompile it, rewrite it and recompile it. Edit: it is also possible to write a mod which alters the behavior of other mods, using reflection. Quote
Markarthian Posted March 15, 2013 Posted March 15, 2013 Edit: it is also possible to write a mod which alters the behavior of other mods, using reflection. I wonder, how would I do that (in code)? Is it like "yourclassname overrides targetclassname" when you declare your class? Or something else? Quote
Neowulf Posted March 15, 2013 Posted March 15, 2013 Not very informed on reflection myself, but cloning the original class, making your changes, and rewriting all references from the original to the new one should do it. Quote
gotyaoi Posted March 15, 2013 Posted March 15, 2013 Basically, reflection is the part of java that makes it act like the dynamic language it should have been. You tell the virtual machine, show me the internals of that guy's class, and then you go to work with a hacksaw and a sense of expirimentation. http://docs.oracle.com/javase/tutorial/reflect/index.html Quote
Markarthian Posted March 15, 2013 Posted March 15, 2013 Basically, reflection is the part of java that makes it act like the dynamic language it should have been. You tell the virtual machine, show me the internals of that guy's class, and then you go to work with a hacksaw and a sense of expirimentation. http://docs.oracle.com/javase/tutorial/reflect/index.html Thanks a lot! Bookmarked it, I'm learning more every day ^^ Quote
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.