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