True Damage / Ignore All Protection

Started by Xanderz_1001 on

Topic category: Help with modding (Java Edition)

Last seen on 02:13, 30. Apr 2024
Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
True Damage / Ignore All Protection

I have this effect I made, where one takes "true damage" which ignores all other protection factors, but it does not register as a player kill when the target entity is killed. Is there any other way besides setting health that will ignore all protection factors that will register as a player kill?

Last seen on 02:13, 30. Apr 2024
Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Not the exact solution i was…
Thu, 04/25/2024 - 21:39

Not the exact solution i was going for, but I ended up just using an "if do else" block, making the set health greater or equal to 1, else set the health to 1. 

Last seen on 19:37, 6. Jun 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I believe if you set the…
Fri, 04/26/2024 - 05:41

I believe if you set the damage ty0e to "generic" it bypasses the armor