return new ItemStack error with arrows

Started by nojustgavin on Sat, 09/25/2021 - 15:12

Topic category: Help with MCreator software

Last seen on 00:41, 17. Oct 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
return new ItemStack error with arrows
Sat, 09/25/2021 - 15:12

I have an entity that I want to shoot arrows. If I check the little box for ranged item and it save mod element, it immediately gives me an error for "return new ItemStack"
"error: no suitable constructor found for ItemStack(no arguments) return new ItemStack();"
I creating a dummy entity where the only thing I did was select a texture and check the ranged box and it still gave me this error.

Last seen on 17:54, 18. Oct 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
you NEED to select the arrow…
Sat, 09/25/2021 - 16:03

you NEED to select the arrow on the checkbox

Last seen on 00:41, 17. Oct 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
oh. I never had to do that…
Sat, 09/25/2021 - 16:17

oh. I never had to do that before, i would just select the checkbox with default item and it would shoot arrows, thanks

Last seen on 00:41, 17. Oct 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Wait so I did that, but now…
Sat, 09/25/2021 - 16:32

Wait so I did that, but now instead of the arrow entity, it shoots 2d arrows items. Something is still wrong.

Last seen on 17:54, 18. Oct 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
yeah that is how it works,…
Sat, 09/25/2021 - 16:42

yeah that is how it works, it won't do an animation like a skeleton

Last seen on 00:41, 17. Oct 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
i swear i've done it before…
Sat, 09/25/2021 - 16:44

i swear i've done it before to where it was an actually arrow entity, but whatever, thanks anyway

Last seen on 17:54, 18. Oct 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
if you put skeleton base ai…
Sat, 09/25/2021 - 16:48

if you put skeleton base ai it could work, honestly don't know