Started by
Khmer
on
Topic category: Help with Minecraft modding (Java Edition)
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:
Try item use duration 72 000
It works for me
@Toliach Thanks for the suggestion, but I tried it and it didn't work.
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
@Klemen Thanks, I got it working now. I think all that happened was I just misunderstood what the duration was.