Jump to content

ChampionAsh5357

Members
  • Posts

    3284
  • Joined

  • Last visited

  • Days Won

    62

Posts posted by ChampionAsh5357

  1. 20 hours ago, Fennx1000 said:

    I want my bow's arrows to pierce through entities IDK how though. Anyone know how????

    If you want it to keep going after it hits an entity, you'll probably need to rewrite AbstractArrow#tick to keep updating the position after the entity has been hit and now treat it as actually 'hit'.

  2. First, your Java version is incorrect. It should be Java 17 for 1.18+, Java 16 for 1.17, and Java 8 for 1.12.2-1.16.5.

    Second, in order to root out one of the more common issues, we'll need to see your hosts file. Here's the steps to getting this file.

    1) Press the Win + R key on your keyboard.

    2) Paste the following into the prompt that opens: 'notepad %windir%\system32\drivers\etc\hosts'

    3) Use Ctrl+A to select everything in the file, then Ctrl+C into the textbox to post to this thread.

  3. The context is constructed when the renderers are to avoid duplication, but since you have access to the renderer in the event, you should just be able to access the layers (whether you'll need an AT or not will depend).

    Though, looking at how complicated this is getting, it may just be worthwhile to use a mixin instead into LivingEntityRenderer#render and inject into where #renderToBuffer is called and replace the last local variable with whatever value you want at a given time. Though, we do not support mixins on this forum yet, so you would be on your own (though we do support it on the discord channel in #non-api-modding).

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.