I am trying to create a datapack that allows you to use a stick to copy block properties and paste them onto a second block, basically copying the first block and then pasting it onto the second. I'm a complete newbie and I know there is something similar, but the developer abandoned that project.
1
I don't think that there is an easy way to get all of the block properties of any block so the only way I can think of is basically testing for all of the possible block properties and returning what you get which is very tedious since you would need to check for every possibility adding them individually but if you want to still do it this would be one possible format to check for a block property.
/execute if block ~ ~ ~ #custom_tag:all_blocks[property=value] run say DO SOMETHING
You would also need a block tag including all of the blocks in the game in it. But if you manage to find some other way to do this please share it since I have wanted that for a very long time by now. Also you could use predicates but you would need one per property as well.
/execute if block ~ ~ ~ #custom_tag:all_blocks[property=value] run say DO SOMETHING
You would also need a block tag including all of the blocks in the game in it. But if you manage to find some other way to do this please share it since I have wanted that for a very long time by now. Also you could use predicates but you would need one per property as well.
