Chest refilling in specific area
datapack that uses area_effect_cloud markers with a lootType scoreboard and resets every 10 minutes. It supports multiple loot types (1..3). You can summon markers with helper functions (they set the score for the newly summoned cloud), and the refill loop reads each cloud’s lootType and places the appropriate chest at the cloud’s position.