Minecraft wiki entry for replaceitem, associated text: Specifies the position of the block to be modified.
It must be a three-dimensional coordinates composed of <x>, <y> and <z>, each of which must be a floating-point number or tilde and caret notation.