17 lines
416 B
Java
17 lines
416 B
Java
package net.minecraftforge.event.entity.living;
|
|
|
|
import net.minecraft.util.DamageSource;
|
|
import net.minecraft.entity.EntityLiving;
|
|
import net.minecraftforge.event.Cancelable;
|
|
|
|
@Cancelable
|
|
public class LivingDeathEvent extends LivingEvent
|
|
{
|
|
public final DamageSource source;
|
|
public LivingDeathEvent(EntityLiving entity, DamageSource source)
|
|
{
|
|
super(entity);
|
|
this.source = source;
|
|
}
|
|
|
|
}
|