Posted July 10, 201213 yr Hello! When porting my crossbow mod to SMP, I've been relatively successful except for one problem. The problem is shown in the video below, but I'll explain it anyway. Seems to be a problem with RotationYaw, although I have tried sending my own packets from the server to update it client-side with no success. [embed=650,480] [/embed] Any help would be greatly appreciated. Thanks for your time.
July 11, 201213 yr Are you ussing default arrows? Default arrows dont have many ticks. Make custom arrows and put higher tick rate than default arrows.
July 11, 201213 yr Author Are you ussing default arrows? Default arrows dont have many ticks. Make custom arrows and put higher tick rate than default arrows. Well in the video I have the EntityTracker set to update it every 0.05s. I've also tried lower, higher, same as the default arrow, etc with no success. The vanilla EntityArrow Tracker Entry: this.trackEntity(par1Entity, 64, 20, false); Mine (currently): MinecraftForge.registerEntity(net.minecraft.src.EntityWoodBolt.class, this, 0, 64, 5, true);
July 11, 201213 yr Author Might want to provide your own interpolation in the renderer for it. The actual entity position would still be buggy though would it not?
July 11, 201213 yr Yeah, but for an arrow it does not matter much as long as it 'looks' decent, the server will handle where it actually hits and such. Just use interpolation to try to be as accurate as possible while lacking priority data.
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.