How to detect vanilla critical crits?

Started by Mymann on

Topic category: Help with modding (Java Edition)

Last seen on 13:18, 7. Sep 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to detect vanilla critical crits?
Wed, 07/24/2024 - 02:09 (edited)

I am making an armor piece that grant the user healing ability upon landing crits, and so far this is how I format it to be, but it doesn't seem to work, the effect still apply on normal hits and worse, even with a bow, help me find out what's wrong with my procedure.

Edited by Mymann on Wed, 07/24/2024 - 02:09