Jump to content

Recommended Posts

Posted

Hey guys, I'm in the process of porting TerraFirmaCraft to 1.3 and while cpw's Ironchest on git helped to get me through a lot of the transition from the old forge system, I'm still having trouble finding how certain things should be done in this brave new world. In this case I'm wondering what's the replacement for renderWorldBlock in BaseMod?

 

Edit: Of course when I finally give up and ask for help I find what I'm looking for. It appears that I need to use the ISimpleBlockRenderingHandler and register it. Correct?

Posted

I think that is correct yes.  :)

Forge currently uses either a registration system or a hook system, depending on what is more appropriate.  :)

 

Also, get rid of your base edits, they are completely unnecessary now.  ;)

 

And I gave you modder rank with all abilities thereof.

Posted

As I learn new techniques I do try to strip out the base edits but then I find something else that I have no idea how to get around with forge so I have to make a new edit :/ its a constant fight.

Posted

Base edits are now completely unsupported in forge because anything that you would have done a base edit for can either be done with reflection or with ASM in Forge, hence, no reason for base edits any longer.  ;)

Posted

Yeah I saw mention of the ASM deal but I've got no idea about how or why to use it etc. If there is any documentation you can link me to, that would be awesome.

Posted

You lost me the moment I clicked that link lol. Once I can see an actual mc mod putting it to use and I can look at the code for said mod, I'll be able to figure it out. But I have absolutely no idea where to even start with that.

Posted

Forge uses ASM heavily, and I think FML does too.  They are generally the prime examples of how to use it.  I have seen another mod that used it too.  Quite powerful, lets you change anything at load time.  :)

 

Basically by using ASM your mod will become a coremod instead of a mod.  :)

Posted

For the most part, Bioxx doesnt need to edit any base classes anyways, so he shouldnt need to use ASM at all. He just needs to register new world providers. Which can be done quite easily.

Also, if hes willing to work with us, I'd like to see his mod become base clean and have it as a 'World Type' option like superflat, or largebiomes.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Yeah it looks like it. I'll be taking the time to try and recode a lot of stuff to make it make more sense since 1.3 is such a huge change.

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.

Announcements



×
×
  • Create New...

Important Information

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