July 24, 201312 yr depends, sometimes you jsut dont knwo of a certain forge feature that you can use, some other time you would really have to make a base change if you wanted to implements what you have in mind what do you need to do ? how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
July 24, 201312 yr Author The player only should be able to do certain things(like using a chest/ having an air bar underwater) under certain conditions
July 24, 201312 yr jeez, the subject is very large certain thing under certain condition for using a chest you can always use the PlayerInterractEvent with Action of right blick block for the rest it really depends, its mostly gonna be case by case how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
July 24, 201312 yr Author ok, but in general there is no way around it? I heard something about AccessTransformers, but I don't realy know what they are, if there are able to help me and how to use them
July 24, 201312 yr access transformer are only to change the visibility of field/methods ASM can change vanilla code at runtime (like when you launch the game) so basicly its like making vanilla changes, but youre doing vanilla change using code baiscly its code changing code yes how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
July 24, 201312 yr Author so i could technicly hook into a void where for example health-=5; is called and put it into an if statement?
July 24, 201312 yr Yes you can, you can do a lot of these things. How is your skill with java, if it it's above beginner you may be able to understand and utilize ASM properly to achieve this. But don't fool yourself, if you aren't steady in the basics, this wont just be hard it will be frustrating and insanely difficult to do right If you guys dont get it.. then well ya.. try harder...
July 24, 201312 yr ASM could hit you like a truck in the face btw, watchout how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
July 24, 201312 yr ASM could hit you like a truck in the face btw, watchout I sign this, I'd recommend that you try playing around with ASM in a new mod, where you just try to edit simple things as first, try to edit how a simple TnT explosion work by editing the range or something else simple. And start from there If you guys dont get it.. then well ya.. try harder...
July 24, 201312 yr also, when you looking in the source for what you want to change, when you find it make sure you unsdertadn everything if whats going on from main(String[]) to the method you want to change, sometimes you will change something and realise its not even what you wanted how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
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.