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