    001package net.minecraftforge.event.entity.living;
    002
    003import java.util.ArrayList;
    004
    005import net.minecraft.util.DamageSource;
    006import net.minecraft.entity.item.EntityItem;
    007import net.minecraft.entity.EntityLiving;
    008import net.minecraftforge.event.Cancelable;
    009
    010@Cancelable
    011public class LivingDropsEvent extends LivingEvent
    012{
    013    public final DamageSource source;
    014    public final ArrayList<EntityItem> drops;
    015    public final int lootingLevel;
    016    public final boolean recentlyHit;
    017    public final int specialDropValue;
    018
    019    public LivingDropsEvent(EntityLiving entity, DamageSource source, ArrayList<EntityItem> drops, int lootingLevel, boolean recentlyHit, int specialDropValue)
    020    {
    021        super(entity);
    022        this.source = source;
    023        this.drops = drops;
    024        this.lootingLevel = lootingLevel;
    025        this.recentlyHit = recentlyHit;
    026        this.specialDropValue = specialDropValue;
    027    }
    028}