Minecraft wiki entry for Player.dat_format, associated text: Blocks can be given tags to specify what blocks they may be placed against in Adventure mode, and to specify what Tile Entity NBT tags to apply to them when placed.