Jump to content

Recommended Posts

Posted

After two weeks of helping other people (but it seems like longer), I finally need some help myself. With an entity that is glitching horribly when I try to drive it.

 

I know it's just something stupid, some packet-related thing I forgot... but could someone point out to me what I did?

 

Here's my Entity code:

 

  Reveal hidden contents

 

My git repo, in case you need other files, is at https://github.com/Pentachoron-Labs/SBFP-Tech/tree/secretfeature—make sure you're on the "secretfeature" branch. Oh, and if the constant use of "secret" bothers you, just mentally replace it with "tractor".

Thanks!

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

Posted

You can look at my code for the turrets. You can ride them, although you can't move with them:

https://github.com/SanAndreasP/TurretModv3/blob/master/sanandreasp/mods/TurretMod3/entity/turret/EntityTurret_Base.java

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

  Quote

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Posted

I'm honestly not sure how I found the solution, but I added tractorX/Y/Z/Yaw/Pitch and velocityX/Y/Z variables akin to the way they're used in EntityBoat and EntityMinecart, and it worked. Then I started fixing the bounding box and ran into... well, this.

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

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.