Jump to content

Is there anyway to create a Forge Server Mod with edited base classes?


ElConquistador

Recommended Posts

[me=luacs1998]promptly points at NEI.[/me]

Base classes are edited, but yet NEI can be outside the jar.

Read the EAQ before posting! OR ELSE!

 

This isn't building better software, its trying to grab a place in the commit list of a highly visible github project.

 

www.forgeessentials.com

 

Don't PM me, I don't check this account unless I have to.

Link to comment
Share on other sites

Yes. The players inventory is EntityPlayer.inventory

 

Protip: try and find answers yourself before asking on the forum.

It's pretty likely that there is an answer.

 

Was I helpful? Give me a thank you!

 

 

width=635 height=903http://bit.ly/HZ03zy[/img]

 

 

Tired of waiting for mods to port to bukkit?

use BukkitForge! (now with a working version of WorldEdit!)

Link to comment
Share on other sites

NEI uses asm, which is why it is a coremod

 

asm is not always better, if done poorly. Lately i have seen a few mods do a complete class replacement, which defeats the point entirely.  the key is to squeeze your hooks in and leave the rest as intact as possible, so other mods have a chance of modifying the same class successfully. If everyone does complete class overrides, the the whole thing is utterly pointless.

 

bytecode is basically a type of assembly, and is not even recongnizable to a java programmer(it is not meant to be human readable), but ask around and help can be found. NEI even needed help on that one ;)

 

However, simple functions, like changing privates to publics, is very easy.

 

 

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.