i to create a projectile that when it’s shot at a target does instant damage (closed)

Started by masterkostas on

Topic category: Help with modding (Java Edition)

Last seen on 18:56, 12. Apr 2024
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i to create a projectile that when it’s shot at a target does instant damage (closed)
Fri, 01/14/2022 - 05:24 (edited)

I want to know how to summon an item I created let’s say “ball” and throw it at the target like the shoot arrow procedure. Also I need to know how can I add potion effects to the area in a radius of 1 block when the projectiles hit an entity or block and spawn particles at that area 

Edited by masterkostas on Fri, 01/14/2022 - 05:24
Last seen on 20:02, 4. Jan 2022
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Quick question.. Just so you…
Wed, 03/27/2019 - 14:32

Quick question.. Just so you dont get mad at me but have you tried making it before posting? if yes how did it go if no then ill help either way

 

Last seen on 18:56, 12. Apr 2024
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I found a way. I just…
Sat, 01/25/2020 - 14:33

I found a way. I just treated the projectile as an entity and executed /effect @e[r=5] <insert potion effect> in the when it hits block procedure anything else damages the player as well