Critical Hit Event
To use this event use the following import:
groovy
import net.minecraftforge.event.entity.player.CriticalHitEvent
Sub-Classes
This event extends the following events and can use all their methods and fields:
PlayerEvent, LivingEvent, EntityEvent
Methods
groovy
net.minecraft.entity.Entity getTarget()
groovy
boolean hasResult()
groovy
float getDamageModifier()
groovy
void setDamageModifier(float arg0)
groovy
float getOldDamageModifier()
groovy
boolean isVanillaCritical()