I'm rather new to command blocks, so please pardon my ignorance...
Essentially what I'm trying to do is turn all of a specific block type into a spawner for an entity, which would then be attached to a clock.
The issue I'm running into is that I can't seem to figure out how to target said blocks.
For example, the execute command requires targeting an entity, or entities to enact it's process, but there is no option to target a specific block type (such as diamond blocks). It would be even better if there was an option for the command block to scan for said blocks in a radius around itself and spawn over the ones it detects, but that too seems to be a function reserved for entities and I'm already grasping at straws with the first bit. Any help or ideas would be greatly appreciated.
Executing from blocks would certainly change how everything works and brings new possibilities but it makes more sense to have actual entities execute commands and keep blocks static.
you can use the fill command to replace specific block types with a spawner (if you mean an actual spawner block)
now if you mean custom spawners in the form of armor stands, that's a bit tricky. There are more ways to go about this but I would suggest summoning a grid of armor stands and teleporting them over the area with the blocks. This allows you to execute a detect command from the armor stands to detect the block types.
Thanks Megacrafter, I had seen a video of a similar concept to what you recommend in which there was a command block structure that tracked the blocks placed by players by summoning armor stands where they were placed. I'll try to use that as a reference. Once again, thanks for your help.
I'm rather new to command blocks, so please pardon my ignorance...
Essentially what I'm trying to do is turn all of a specific block type into a spawner for an entity, which would then be attached to a clock.
The issue I'm running into is that I can't seem to figure out how to target said blocks.
For example, the execute command requires targeting an entity, or entities to enact it's process, but there is no option to target a specific block type (such as diamond blocks). It would be even better if there was an option for the command block to scan for said blocks in a radius around itself and spawn over the ones it detects, but that too seems to be a function reserved for entities and I'm already grasping at straws with the first bit. Any help or ideas would be greatly appreciated.
Executing from blocks would certainly change how everything works and brings new possibilities but it makes more sense to have actual entities execute commands and keep blocks static.
you can use the fill command to replace specific block types with a spawner (if you mean an actual spawner block)
now if you mean custom spawners in the form of armor stands, that's a bit tricky. There are more ways to go about this but I would suggest summoning a grid of armor stands and teleporting them over the area with the blocks. This allows you to execute a detect command from the armor stands to detect the block types.
Command block engineer // Developer // #TeamTrees
Thanks Megacrafter, I had seen a video of a similar concept to what you recommend in which there was a command block structure that tracked the blocks placed by players by summoning armor stands where they were placed. I'll try to use that as a reference. Once again, thanks for your help.