Help with Fireball shooting!

Started by BlackCat626 on

Topic category: Help with modding (Java Edition)

Last seen on 21:01, 6. Apr 2020
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with Fireball shooting!

Hello, I'm pretty new at MCreator, and I'm trying to figure out how to make an item (basically a sword) launch fireballs when right clicked.
I have the procedure set up under right click, but I need the code/block for summoning a fireball that will launch in the same direction that the player is facing.

I've looked at some other threads addressing this same issue, but they aren't straightforward and some are for older versions.

Thanks for reading.

Last seen on 15:10, 2. Feb 2021
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello and welcome to…
Mon, 04/06/2020 - 18:19

Hello and welcome to MCreator! It is possible to make an item or a sword to summon fireballs when right clicked.

First, you need to make when item right click, then select "execute command in the name of provided entity" (which can be found in entity procedures tab) then copy this command "/summon Fireball ~ ~2 ~ {ExplosionPower:2,direction:[0.0,0.0,0.0]}" into the blank space.

Something to notice though, when the command is executed, the fireballs will be summon on top of the player's head and it will stay there until the player hit the fireball, like when you punch the fireball back at Ghast. Another thing to notice is that the explosion power can be change to any number, but I'd suggest you to keep the number small, don't make it bigger than 5 or else your computer will lag (if you don't have a good computer)

If you have any more questions, feel free to comment back :)

Last seen on 21:01, 6. Apr 2020
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you for the reply, but…
Mon, 04/06/2020 - 18:31

thank you for the reply, but I'm looking for a way to start the fireball out by moving, like when a blaze shoots a fireball... is there no easy way to do this?

Last seen on 15:36, 25. Nov 2023
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So how to do that is that…
Mon, 04/06/2020 - 18:41

So how to do that is that you can change this command: /summon Fireball ~ ~2 ~ {ExplosionPower:2,direction:[0.0,0.0,0.0]}

Then you just need to do a little change, so i already made the command for you: /summon Fireball ~ ~2 ~ {ExplosionPower:2,direction:[0.0,1.0,0.0]} 

You can change the "1.0"  to what ever you want like 1.5 = faster or 0.5 = slower.

Do you understand? 

Last seen on 21:01, 6. Apr 2020
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
OK, I'll try that. thanks!
Mon, 04/06/2020 - 18:42

OK, I'll try that. thanks!

Last seen on 15:10, 2. Feb 2021
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Tbh, I think that the second…
Wed, 04/08/2020 - 09:17

Tbh, I think that the second group of number is how big the explosion is, but you can try that

Last seen on 20:55, 19. Jun 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a way to make mobs…
Tue, 06/16/2020 - 02:56

Is there a way to make mobs shoot these fireballs when attacked? I tried making this execute when a mob got hurt to no success. Thanks in advance!

Last seen on 21:29, 1. Sep 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
two things 1. it should be…
Wed, 07/15/2020 - 20:24

two things

1. it should be Minecraft:fireball not Fireball

2. how can I send the fireballs in the direction the player is facing?

 

Last seen on 05:32, 2. Mar 2023
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a ranged weapon, set…
Fri, 08/14/2020 - 16:04

Make a ranged weapon, set the model as a fireball, set a procedure to explode on impact and boom you then use the fire projectile block on right click and you are done.

Last seen on 21:29, 1. Sep 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how does one make a…
Tue, 09/01/2020 - 21:29

how does one make a explosion procedure

Last seen on 22:21, 10. Jun 2022
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi, I was wondering how to…
Mon, 09/21/2020 - 18:00

Hi, I was wondering how to make custom code. It's all blocks...