public class LootingLevelEvent extends LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
private DamageSource |
damageSource |
private int |
lootingLevel |
Constructor and Description |
---|
LootingLevelEvent(EntityLivingBase entity,
DamageSource damageSource,
int lootingLevel) |
Modifier and Type | Method and Description |
---|---|
DamageSource |
getDamageSource() |
int |
getLootingLevel() |
void |
setLootingLevel(int lootingLevel) |
getEntityLiving
getEntity
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
private final DamageSource damageSource
private int lootingLevel
public LootingLevelEvent(EntityLivingBase entity, DamageSource damageSource, int lootingLevel)
public DamageSource getDamageSource()
public int getLootingLevel()
public void setLootingLevel(int lootingLevel)