Jump to content

Way around base Class edits


Abascus

Recommended Posts

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-

Link to comment
Share on other sites

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-

Link to comment
Share on other sites

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 :P

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

Link to comment
Share on other sites

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 :P

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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-

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.