Ranged Item Won't Shoot Any Projectiles (2023.4)

Started by Khmer on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ranged Item Won't Shoot Any Projectiles (2023.4)

I'm trying to make an item that shoots itself, but when I test it out in-game, it just does the swinging animation and nothing is fired. I made sure that the projectile item uses the ranged item as the projectile and that the ranged item shoots the projectile item, but nothing happens. I even tried setting the projectile item to a different item to see if that was the problem, but nothing changed. Is this a bug or am I doing something wrong? Here are some screenshots for more information:

https://imgur.com/WXESLhq

https://imgur.com/B4QytDa

https://imgur.com/UyB4qo7

https://imgur.com/sOVCtko

https://imgur.com/aqgflIJ

Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try item use duration 72…
Sat, 01/06/2024 - 19:18

Try item use duration 72 000
It works for me

Joined May 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Toliach Thanks for the…
Sat, 01/06/2024 - 19:59

@Toliach Thanks for the suggestion, but I tried it and it didn't work.

Use duration is wrong on the…
Sun, 01/07/2024 - 14:56

Use duration is wrong on the pictures.

Your projectile icon is also some block, meaning you have set the projectile ammo requirement to a block and not the item you are showing, meaning your projectile requires that block to shoot

Joined May 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Klemen Thanks, I got it…
Sun, 01/07/2024 - 19:01

@Klemen Thanks, I got it working now. I think all that happened was I just misunderstood what the duration was.