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.
|
robot| Modifier | Constructor and Description |
|---|---|
protected |
RobotAttackEntityEvent(Robot robot,
net.minecraft.entity.Entity target) |
public final net.minecraft.entity.Entity target
protected RobotAttackEntityEvent(Robot robot, net.minecraft.entity.Entity target)