public class LootingLevelEvent extends LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.EyeHeight| Constructor and Description |
|---|
LootingLevelEvent(LivingEntity entity,
DamageSource damageSource,
int lootingLevel) |
| Modifier and Type | Method and Description |
|---|---|
DamageSource |
getDamageSource() |
int |
getLootingLevel() |
void |
setLootingLevel(int lootingLevel) |
getEntityLivinggetEntitypublic LootingLevelEvent(LivingEntity entity, DamageSource damageSource, int lootingLevel)
public DamageSource getDamageSource()
public int getLootingLevel()
public void setLootingLevel(int lootingLevel)