Posted August 26, 201213 yr 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?
August 26, 201213 yr 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.
August 26, 201213 yr Author 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.
August 26, 201213 yr 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.
August 26, 201213 yr Author 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.
August 27, 201213 yr Author 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.
August 27, 201213 yr 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.
August 27, 201213 yr 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
August 27, 201213 yr Yep, we have just been talking on IRC. I was having him go through his base edits and it seems there are ways around them all without ASM.
August 27, 201213 yr Author 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.