to do this, make a global trigger that is set to "block is placed" and add the "set nbt logic tag "tagName" of block at x y z to true." Rename tagName to playerPlaced. Now you can check if it is player placed in another procedure by checking the nbt playerPlaced. if it is true it is player placed. if false it is natural
Yes, that will work, but only for tile entities/block entities (a checkbox that you need to enable).
You could also maybe try doing something similar with blockstates, but again, that would cause it to only work for certain blocks with a specific blockstate added to them.
to do this, make a global trigger that is set to "block is placed" and add the "set nbt logic tag "tagName" of block at x y z to true." Rename tagName to playerPlaced. Now you can check if it is player placed in another procedure by checking the nbt playerPlaced. if it is true it is player placed. if false it is natural
Yes, that will work, but only for tile entities/block entities (a checkbox that you need to enable).
You could also maybe try doing something similar with blockstates, but again, that would cause it to only work for certain blocks with a specific blockstate added to them.