Posted February 28, 201312 yr i need to know how to add armor effects for my mod im working on like breathing under water or fire resistance. i know how with modloader using the simple onTickInGame function but with Forge im completely lost so anyone know how???
February 28, 201312 yr yeah, create the method onArmorTickUpdate inside it, do whatever you want to do with the item or whatever If you guys dont get it.. then well ya.. try harder...
March 1, 201312 yr Author could you be more specific??? i know i have to use the function but i dont know how
March 1, 201312 yr No, learning java with making a mod, does not work It worked for me pretty well . , especially if you have never programmed before. but yep, it's not my first programming language. Going from C# to Java was sometimes unpleasant, but feasible. mnn.getNativeLang() != English If I helped you please click on the "thank you" button.
March 1, 201312 yr No, learning java with making a mod, does not work It worked for me pretty well . , especially if you have never programmed before. but yep, it's not my first programming language. Going from C# to Java was sometimes unpleasant, but feasible. ya same, except I started with C++ before going to java
March 2, 201312 yr Author i never say i haven't programmed before or that i don't know how to override the method. im just unfimilar with it and am looking for some help with it thats all
March 2, 201312 yr If you don't know how to override methods you should not be making a mod, but be learning java instead. No, learning java with making a mod, does not work, especially if you have never programmed before. please don't assume. he may be asking the methods to add the effects Also, I should have you know that you are reading my signature.
March 2, 201312 yr based on the fact that 90% of the questions seen on this side of the forum is about basic programming and that he did say hes not familiar with overriding methods. I'd say it's not to far a stretch for someone to say that he is unfamiliar to these principles, meaning he should read up on them. please don't assume. he may be asking the methods to add the effects Well then he needs to specify his question if he does know OOP principles, beacuse: could you be more specific??? i know i have to use the function but i don't know how Seems like he is asking about how to override which is basic OOP knowledge. i never say i haven't programmed before or that i don't know how to override the method. And there the OP said he didn't know about Overriding a method, meaning he should go look it up before making a mod inn an OOP language So to the OP: Read up on inheritance and overriding and you should be able to figure out how to override a method of a base class. If you guys dont get it.. then well ya.. try harder...
March 2, 201312 yr Author i already know the basics of OOP i have most of it set up i just cant figure out this one error i have this line in my main class is what gives me the error. i got the function registerServerTickHandler set up and ready to go. also the commonProxy class has all of its needs for this. proxy.registerServerTickHandler();
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.