Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

FAQ: How do I detect whether a player is critically hitting in vanilla MC?

KoryuObihiro edited this page Dec 26, 2011 · 2 revisions

This question if most commonly asked because many server admins feel that critical hits are imbalanced. If you have other plugins that interfere, then this is a potentially sticky problem - however, for vanilla MC other than MD, the following solution would be effective:

Damage:
    - 'if attacker.type.player and attacker.isfalling':
         - '-1'
         - 'mult.2'
         - 'div.2'

The reason that this works is because vanilla MC grants crits to all players who have a downward velocity - thus, the usage of the Falling conditional. The mechanic is countered as it is described according to the MinecraftWiki page located here.

Clone this wiki locally