Jump to content

Recommended Posts

Posted

Hi, when I shoot my bow and hit a target at close range the arrowEntity gets rendered incorrectly. However, when i save/quit Minecraft and Log back in again ; the arrows are in their appropriate places. Here is a video to better show the problem.

http://www.twitch.tv/kitsushadow/c/5519317

 

Here are my classes pertaining to the bow and arrow.

Thanks In Advance!

 

ItemLongbow

 

  Reveal hidden contents

 

 

EventHandler

 

  Reveal hidden contents

 

 

ItemRendererLongbow

 

  Reveal hidden contents

 

 

EntityModelArrow

 

  Reveal hidden contents

 

 

ItemRendererModelArrow

 

  Reveal hidden contents

 

Posted

Hi

 

I saw a very similar bug a year ago.  It was caused by some vanilla code which treats projectiles differently from others, by checking for instance of EntityArrow

 

Try changing your EntityModelArrow extends Entity to EntityModelArrow  extends EntityArrow

 

-TGG

Posted

THANK YOU SO VERY MUCH!!!!  SAVED THE DAY lol

 

;D

 

I'm gonna do a little bit of fixing now so the arrow renders in the right position for north, south, east, west, up, and down.

 

Thanks Again

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.