ForgePatch/common/net/minecraftforge/event/entity/living/LivingDeathEvent.java

18 lines
416 B
Java
Raw Normal View History

package net.minecraftforge.event.entity.living;
2012-12-13 05:58:35 +00:00
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;
}
}