Posted March 7, 201411 yr Ok, I have been modding and made a short blade, which I would like for people to be able to throw. I got it working, but it won't show it being thrown(In the air) Help?
March 8, 201411 yr Ok, I have been modding and made a short blade, which I would like for people to be able to throw. I got it working, but it won't show it being thrown(In the air) Help? You're going have to render it. I'm back from being gone for... I think its been about a year. I'm pretty sure nobody remembers me, but hello anybody who does!
March 9, 201411 yr There is a reference, called arrow. look how it has been made, copy it, edit it. done. I think no one on this forum will write the code for you, thats your job. And if u want help with your code THEN YOU HAVE TO SHOW IT. srsly is that so hard to understand?? ********************************* ** Always remember you are unique, ** ** just like everyone else ** ********************************** Was my post helpful? Say thanks and press the thank you button, on my post!! God, damn it!
March 9, 201411 yr See my Rendering a 3D item after thrown thread. We figured this out for 1.5. You can probably adapt the code i posted to 1.6.4
March 10, 201411 yr Author Alright, thanks for the help guys. I am copying the code for the arrow, but how might I get to the reference called "arrow"? Would you recommend a tutorial?
March 11, 201411 yr Here is a tutorial about making a custom projectile. The easiest way is to extend EntityThrowable, since EntityArrow has lots of hard-coded features that won't work for you if you just try to copy them. As for rendering, the simplest yet again is to just register your entity to a new RenderSnowball(yourItem). That will render your item as a thrown object without having to do anything fancy; otherwise you will need to look at a variety of render codes / learn about openGL and figure out how you want your knife to render in the air. http://i.imgur.com/NdrFdld.png[/img]
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.