EntityLivingHurt

Link to entitylivinghurt

The EntityLivingHurt Event is fired whenever an Entity is about to get hurt.
It can be canceled to stop the entity from being hurt.

Класс события

Link to класс-события

You will need to cast the event in the function header as this class:
crafttweaker.event.EntityLivingHurtEvent
You can, of course, also import the class before and use that name then.

Наследование от интерфейсов событий

Link to наследование-от-интерфейсов-событий

PlayerDeathDrops реализует следующие интерфейсы и способно вызвать все их методы/геттеры/сеттеры:

ZenGetterТип
ZenGetter
damageSource
Тип
IDamageSource
ZenGetter
amount
Тип
float
ZenSetterТип
ZenSetter
amount
Тип
float