Make entity use bow/crossbow

Started by gdgdgdgdgd on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make entity use bow/crossbow

I checked do ranged attacks and selected bow but it just shoots arrows that look like bows. How do I make it so my custom entity uses a bow just like a skeleton/pillager would? Seems like this only works with custom weapons.

I googled, found nothing that fixed it. Do not give me the playlist of tutorials I will not find it

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You need to empty the thing…
Sat, 02/12/2022 - 16:37

You need to empty the thing you put "bow" for, and put a bow in its main hand in the behavior section.

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If I add the bow in main…
Tue, 02/15/2022 - 18:05

If I add the bow in main-hand, and remove it from the AI section, then I get compilation errors untill I define an item to use in the AI section.