{
    "format_version": "1.16.100",
    "minecraft:block": {
        "description": {
            "identifier": "thing:align"//Block used to summon the dummy entity right on the block, and as the block is centered, the entity will center too.
        },
        "components": {
            "minecraft:destroy_time": 2,
            "minecraft:block_light_emission": 0,
            "minecraft:block_light_absorption": 0,
            "minecraft:flammable": {
                "burn_odds": 0,
                "flame_odds": 0
            },
            "minecraft:unit_cube": {},
            "minecraft:entity_collision": {
                "origin": [ 0, 0, 0 ],
                "size": [ 0, 0, 0 ]
            },
            "minecraft:pick_collision": {
                "origin": [ 0, 0, 0 ],
                "size": [ 0, 0, 0 ]
            },
            "minecraft:on_placed": {
                "event": "my:event"
            },
            "minecraft:loot": "loot_tables/empty.json"
        },
        "events": {
            "my:event": {
                "run_command": {
                    "command": [
                        "setblock ~~~ air 0",//This will despawn the block
                        "summon thing:dummy_align"//And this spawn the dummy entity.
                    ]
                }
            }
        }
    }
}