16 lines
408 B
Java
16 lines
408 B
Java
package net.minecraftforge.event.entity.player;
|
|
|
|
import net.minecraft.entity.Entity;
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraftforge.event.Cancelable;
|
|
|
|
@Cancelable
|
|
public class AttackEntityEvent extends PlayerEvent
|
|
{
|
|
public final Entity target;
|
|
public AttackEntityEvent(EntityPlayer player, Entity target)
|
|
{
|
|
super(player);
|
|
this.target = target;
|
|
}
|
|
}
|