public abstract class RobotPlaceBlockEvent extends RobotEvent
Modifier and Type | Class and Description |
---|---|
static class |
RobotPlaceBlockEvent.Post
Fired after a robot placed a block.
|
static class |
RobotPlaceBlockEvent.Pre
Fired when a robot is about to place a block.
|
Modifier and Type | Field and Description |
---|---|
net.minecraft.item.ItemStack |
stack
The item that is used to place the block.
|
net.minecraft.world.World |
world
The world in which the block will be placed.
|
int |
x
The coordinates at which the block will be placed.
|
int |
y
The coordinates at which the block will be placed.
|
int |
z
The coordinates at which the block will be placed.
|
agent
Modifier | Constructor and Description |
---|---|
protected |
RobotPlaceBlockEvent(Agent agent,
net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
int x,
int y,
int z) |
public final net.minecraft.item.ItemStack stack
public final net.minecraft.world.World world
public final int x
public final int y
public final int z
protected RobotPlaceBlockEvent(Agent agent, net.minecraft.item.ItemStack stack, net.minecraft.world.World world, int x, int y, int z)