I would like to know how to make a bow that shoots fireworks in place of arrows. I already have a feature where when the arrow hits the ground, it explodes and releases a firework. If you think you got it, or need more information, tell me below.

  • You want the firework to fly up or fly in the direction the arrow would normally fly? – ModDL Mar 7 '15 at 20:22
  • I want it to fly in the direction the arrow would normally go – AwesomeMan2812 Mar 7 '15 at 20:41
  • 1
    The easiest way is probably just to summon fireworks particles around the arrow while it's in flight. – MBraedley Mar 7 '15 at 21:05
  • Although looking further, summoning a fireworks explosion is more difficult than I initially thought. Still doable though. – MBraedley Mar 8 '15 at 1:52
  • I do not want the fireworks particles to follow the arrow. I would like the arrow when shot to look like a firework/be a firework. – AwesomeMan2812 Mar 8 '15 at 21:20

I think I have it. The operation requires four commands, not counting the fill clock. The arrow will still exist but will spawn fireworks that explode immediately.

Type this in chat:

/scoreboard objectives add ground dummy ground

1st Command Block on fill clock:

/scoreboard players set @e[type=Arrow] ground 0 {inGround:0b}

2nd Command Block on fill clock:

/scoreboard players set @e[type=Arrow] ground 1 {inGround:1b}

3rd Command Block on fill clock:

/execute @e[type=Arrow,score_ground=0] ~ ~ ~ summon FireworksRocketEntity ~ ~ ~ {LifeTime:-1,FireworksItem:{id:401,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Flicker:0,Trail:0,Colors:[0],FadeColors:[0]}]}}}}

You can make your own firework to put in the execute command at http://www.minecraftupdates.com/fireworks but make sure the lifetime is set to -1.

I hope this helped and that this was what you were looking for.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.