Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

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


Recommended Posts

Don't edit base classes.

We're not gunna support people who edit base classes as that a antiquated shitty method that should never be used.


I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Patreon: http://www.patreon.com/lexmanos
Paypal: http://paypal.me/LexManos

BitCoin: 1Q8rWvUNMM2T1ZfDaFeeYQyVXtYoeT6tTn

Link to comment
Share on other sites

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




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.

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