public class LootingLevelEvent extends LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.HasResult, Event.Result
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
public LootingLevelEvent(EntityLivingBase entity, DamageSource damageSource, int lootingLevel)
public DamageSource getDamageSource()
public int getLootingLevel()
public void setLootingLevel(int lootingLevel)