public class RobotAttackEntityEvent extends RobotEvent
Modifier and Type | Class and Description |
---|---|
static class |
RobotAttackEntityEvent.Post
Fired after a robot has attacked an entity.
|
static class |
RobotAttackEntityEvent.Pre
Fired when a robot is about to attack an entity.
|
Modifier and Type | Field and Description |
---|---|
net.minecraft.entity.Entity |
target
The entity that the robot will attack.
|
agent
Modifier | Constructor and Description |
---|---|
protected |
RobotAttackEntityEvent(Agent agent,
net.minecraft.entity.Entity target) |
public final net.minecraft.entity.Entity target
protected RobotAttackEntityEvent(Agent agent, net.minecraft.entity.Entity target)