LootingLevel
Link to lootinglevel
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.
Event-Klasse
Link to event-klasse
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.
Erweiterte Event-Schnittellen
Link to erweiterte-event-schnittellen
LootingLevel Events implement the following interfaces and are able to call all of their methods/getters/setters as well:
ZenGetter/ZenSetter
Link to zengetterzensetter
The following information can be retrieved/set during the event:
ZenGetter | ZenSetter | Type |
---|---|---|
ZenGetter lootingLevel | ZenSetter lootingLevel | Type int |
ZenGetter damageSource | ZenSetter | Type IDamageSource |