This event is fired whenever a Living Entity creature is killed in order to calculate the looting level. The value can be increased or decreased or left as-is. The value may have already been modified by other events, but the original value is not included.

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

Event interface extensions

Link to event-interface-extensions

LootingLevel Events implement the following interfaces and are able to call all of their methods/getters/setters as well:

ZenGetters/ZenSetters

Link to zengetterszensetters

The following information can be retrieved/set during the event:

ZenGetterZenSetter类型
ZenGetter
lootingLevel
ZenSetter
lootingLevel
类型
int
ZenGetter
damageSource
ZenSetter
类型
IDamageSource