public static class TurtleBlockEvent.Place extends TurtleBlockEvent
TurtleAction.PLACE
TurtleBlockEvent.Dig, TurtleBlockEvent.Inspect, TurtleBlockEvent.Move, TurtleBlockEvent.Place
Constructor and Description |
---|
Place(ITurtleAccess turtle,
net.minecraftforge.common.util.FakePlayer player,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.item.ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.item.ItemStack |
getStack()
Get the item stack that will be placed.
|
getPos, getWorld
getPlayer
getAction, getFailureMessage, setCanceled, setCanceled
getTurtle
public Place(@Nonnull ITurtleAccess turtle, @Nonnull net.minecraftforge.common.util.FakePlayer player, @Nonnull net.minecraft.world.World world, @Nonnull net.minecraft.util.math.BlockPos pos, @Nonnull net.minecraft.item.ItemStack stack)