Jump to content

Help with porting BlockPhysics mod from 1.6.2 to 1.12.


Recommended Posts

Posted
13 minutes ago, loordgek said:

 

that works but that is not the normal way

 

you should do it like so


EnumFacing orient = state.getValue(BlockDirectional.FACING);

 

Something like this?:

EnumFacing orient = par1block.getDefaultState().getValue(BlockDirectional.FACING);
Posted

I'm not 100% sure that I can make this mod work. But this is sort of a challenge for me. I really want to try as hard as I can, with somebody's help of course, if they will.

Posted (edited)

is this:

AxusAlignedBB Sandbbox = new AxisAlignedBB(i, j, k, (float)i + 1, (float)j + 1, (float)k + 1);

a good replacement for this:

AxisAlignedBB Sandbbox = AxisAlignedBB.getBoundingBox(i, j, k, (float)i + 1, (float)j + 1, (float)k + 1);

?

Edited by st4s1k
Posted (edited)
10 minutes ago, loordgek said:

no you are not annoying me

i am trying to help you

I appreciate your responses, but telling me that I should stop doesn't really help =D


Maybe my questions may sound silly, idk, I've never been modding before, neither am I doing now. I'm trying to make an old minecraft mod working using my level of Java knowledge. I'm just exploring and I enjoy it. If I enjoy it, why should I simply stop. Or maybe you can give me an alternative starting point?

Edited by st4s1k
Posted

I had around 1k errors in the code I'm fixing now. Now it's around 300, and every day I'm making a little progress, small steps, but better than yesterday, and I think that's good.

Posted
3 minutes ago, loordgek said:

i can make a new mod for you

=D That sounds very generous of you. I don't think you want to waste your time on somebody else's problems...)

Posted
11 hours ago, loordgek said:

do you know how ASM works if not please stop.

Stop even if you do know how it works

You should start from scratch & then bring some of the old code in once you have good understanding of modding.

I've just ported a very rendering intensive mod from 1.7.10 -> 1.12.2 and I'm a little experienced in it (world rendering particularly) so pm me on discord if you have any questions @Cadiboo#8887

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted (edited)
34 minutes ago, Cadiboo said:

You should start from scratch & then bring some of the old code in once you have good understanding of modding.

I guess this is what I am going to do. Do you have any advice, that would ease my learning trip? Aside referring to FORGEdocs , because it seems to be superficial.

All it has about rendering is this small paragraph:
https://mcforge.readthedocs.io/en/latest/rendering/teisr/

 

I mean, there is a giant library of minecraft & forge classes, but very little documentation. How can I possibly learn something meaningful? By guessing?

Edited by st4s1k
Posted
23 minutes ago, st4s1k said:

By guessing?

And trial & error, Minecraft isn't anywhere near open-source, so no documentation.
You might want to take a look at https://github.com/Cadiboo/Example-Mod, It's even got some rendering stuff already in there

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted

Its a great concept, but it was appallingly implemented, has a horrible EULA and results in horrible & messed up code (that can easily break other mods & prevents forge from adding reloadable mods)

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

  • 8 months later...
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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