Detection function & more

I am working on a Minecraft 1.21.4 data pack and need help with a function that detects when a player is in a structure. When a player is detected nearby, the function should run specific commands via console. I am no export in data packs so this is a commission and i am willing to pay $$$ some details: Most of the data pack is working, but it needs some rework more, such as: - readjustment to some functions that include mob spawning, achievements, and loot tables - editing structures that generate in the world - more details in dm
Continue to help post