public class LootingLevelEvent extends LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.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) |
getEntityLivinggetEntitygetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic LootingLevelEvent(EntityLivingBase entity, DamageSource damageSource, int lootingLevel)
public DamageSource getDamageSource()
public int getLootingLevel()
public void setLootingLevel(int lootingLevel)