Merge #3060 into 1.10.x

This commit is contained in:
cpw committed 2016-07-09 11:58:09 -04:00
commit 7e36205ba7
4 files changed
+67 -16

No files matched your search

@@ -0,0 +1,29 @@
package net.minecraftforge.event.entity.living;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.util.DamageSource;
public class LootingLevelEvent extends LivingEvent {
private final DamageSource damageSource;
private int lootingLevel;
public LootingLevelEvent(EntityLivingBase entity, DamageSource damageSource, int lootingLevel) {
super(entity);
this.damageSource = damageSource;
this.lootingLevel = lootingLevel;
}
public DamageSource getDamageSource() {
return damageSource;
}
public int getLootingLevel() {
return lootingLevel;
}
public void setLootingLevel(int lootingLevel) {
this.lootingLevel = lootingLevel;
}
}