How do I make this swords ability damage to be considered player damage.

Started by LDP44 on

Topic category: Help with modding (Java Edition)

Last seen on 00:17, 28. Jan 2023
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make this swords ability damage to be considered player damage.

So Basically I have this sword that has a right click ability that teleports 8 block and deals damage to mobs around me, but when i kill a mob that I made to drop specific items with the ability damage it only drops the default stuff because its considered non-player damage I think?  

 So in conclusion how do I make the ability damage to be Considered Player Damage.

Current Procedures

Last seen on 00:17, 28. Jan 2023
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks
Sun, 01/22/2023 - 02:47

Thanks