package net.minecraftforge.event.entity.living; import java.util.ArrayList; import net.minecraft.src.DamageSource; import net.minecraft.src.EntityItem; import net.minecraft.src.EntityLiving; import net.minecraftforge.event.Cancelable; @Cancelable public class LivingDropsEvent extends LivingEvent { public final DamageSource source; public final ArrayList drops; public final int lootingLevel; public final boolean recentlyHit; public final int specialDropValue; public LivingDropsEvent(EntityLiving entity, DamageSource source, ArrayList drops, int lootingLevel, boolean recentlyHit, int specialDropValue) { super(entity); this.source = source; this.drops = drops; this.lootingLevel = lootingLevel; this.recentlyHit = recentlyHit; this.specialDropValue = specialDropValue; } }