Jump to content

Recommended Posts

Posted

Hi Guys i need a help in updating my mod in 1.7.10 to 1.9.4

Mostly i got codes with Vec3 but at 1.9.4 it is gone with the methods and i have no idea what to replace because im seeing lots of Vec3d from different packages and Vec3i , Vec4 etc..

 

like i cant fix the error with handling stuff for WorldHelper.getVectorToTarget() and Vec3.addVectorLength();

 

same goes to what happen to RenderBlocks it seems it has been deleted and i couldnt find a way to fix my 3d weapons.

 

and lastly what happen to AxisAllignedBB. <-- should i make myself this (if you know what i mean sorry for bad english)

 

Any helps and advice guys.. Ill update my mod to 1.10 as soon as i fix the issues Tankyou

Posted

https://gist.github.com/LexManos/44dd211f90f498ad4015279b103dff86

I cant seem to find my older gist for 1.8->1.9

But a lot of the vector stuff moved into util.math.

Just compare the old version to the new version.

I THINK the old one was doubles, so it's Vec3d now {d for double, f for float, i for int, etc..}

 

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

dont worry, you'll soon chew through those errors. i had 4600, and that was just the ones elipse could display.

 

take a look at the renderDragon file, specifically the method for renderCrystalBeam. this contains the new way to setup the tesselator as well as show you how addVertexWithUV was replaced.

Posted

Okay thank you for the help guys. Im halfway through updating my mod wow ! Really lots of code change i cant wait to test my mod out VertexBuffer, Vec3d/i/4f , AxisAllign rework.. Thanks Lex and you guys :D this is solved

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.