Creating A Magic Projectile

Started by RemovePlays on Thu, 11/29/2018 - 06:18

Topic category: Help with MCreator software

Last seen on 04:48, 17. Oct 2020
Joined Feb 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Creating A Magic Projectile
Thu, 11/29/2018 - 06:18

In the mod I am working on, I'd like to be able to cast a spell when the spell item is held. However, I don't wish for it to shoot an arrow. I'd like the damage dealt to be the "magic" damage type in Minecraft, to prevent the damage being reduce by armor. However, I haven't been able to figure it out on my own yet how to achieve this, or found related information online.
When using "When bullet hits player" linked to a procedure of "Deal X damage to provided entity" does not work(hits user instead of entity). Does anyone know of a method to create an item that is usable to fire a projectile that does on hit (magic)damage to the entity it hits? Also, while being able to control the appearance of the projectile fired.
Thank you very much for any and all help. I will reply to thread questions as quickly as I can.

Last seen on 11:41, 17. Oct 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Unfortunately you can't do…
Thu, 11/29/2018 - 10:11

Unfortunately you can't do this :(

You can open an issue ticket (issues are also used for feature requests) that is a feature request about making an event trigger that is actually used on the entity hit by the weapon (and not the user).

(I'm sorry for my bad English)

Last seen on 17:42, 20. Oct 2020
Joined Nov 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I think there was a forum…
Sun, 12/23/2018 - 13:15

I think there was a forum about this, as it was like that in 1.8.0 look around on the website on damage source.