how would i go about modifying the inner content of a shulker box with items counts?

im on 1.20.4 and is new to datapacks. im looking to make a thing where i partially use plugins and datapack so that when you place a shulker box with blocks, itll place the content within the shulker box

Continue to help post