#fireball curving when summoned and pushed

1 messages · Page 1 of 1 (latest)

storm pine
#

I have this code on right click: if player's tool is any hoe: if {fireballshoothoe::%player's uuid%} is true: spawn 1 fireball at location of block above player wait 1 tick push last spawned entity in direction of player with force 1
and when the fireball is pushed, it curves in a wierd way for some reason, i was wondering if there's a better way to do it so the fireball dont curve

#

also how could I add a 10 second cooldown to that?

grave crescent
storm pine
#

do I need any extra addons for that?

grave crescent
#

nope

storm pine
#

that shoots a small blaze fireball, any way to make it shoot a ghast fireball?

grave crescent
#

fireball is normal one, small fireball is the blaze one

storm pine
#

can I adjust the speed of it in any way?

grave crescent
#
  set metadata value "cooldown" of player to metadata value "cooldown" of player ? now
  difference between metadata value "cooldown" of player and now > 15 seconds:
    set metadata value "cooldown" of player to now 
    broadcast true
  else:
    send action bar "&bwait %15 seconds - difference between metadata value"cooldown" of player and now% before you can use this again" to player``` also this is what I made and always use for cooldowns
grave crescent
grave crescent
#

you need skbee if you want nice notation for action bar

storm pine
#

I have it

grave crescent
#

alr great

storm pine
#

thats it, thanks sm