Class LootingLevelEvent
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.event.entity.EntityEvent
-
- net.minecraftforge.event.entity.living.LivingEvent
-
- net.minecraftforge.event.entity.living.LootingLevelEvent
-
public class LootingLevelEvent extends LivingEvent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.event.entity.living.LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent, LivingEvent.LivingVisibilityEvent
-
Nested classes/interfaces inherited from class net.minecraftforge.event.entity.EntityEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.Size
-
-
Field Summary
Fields Modifier and Type Field Description private DamageSource
damageSource
private int
lootingLevel
-
Constructor Summary
Constructors Constructor Description LootingLevelEvent(LivingEntity entity, DamageSource damageSource, int lootingLevel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DamageSource
getDamageSource()
int
getLootingLevel()
void
setLootingLevel(int lootingLevel)
-
Methods inherited from class net.minecraftforge.event.entity.living.LivingEvent
getEntityLiving
-
Methods inherited from class net.minecraftforge.event.entity.EntityEvent
getEntity
-
-
-
-
Field Detail
-
damageSource
private final DamageSource damageSource
-
lootingLevel
private int lootingLevel
-
-
Constructor Detail
-
LootingLevelEvent
public LootingLevelEvent(LivingEntity entity, DamageSource damageSource, int lootingLevel)
-
-
Method Detail
-
getDamageSource
public DamageSource getDamageSource()
-
getLootingLevel
public int getLootingLevel()
-
setLootingLevel
public void setLootingLevel(int lootingLevel)
-
-