Jump to content

How do I edit a Tekkit mod?


bubub98

Recommended Posts

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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 ^^

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...