use this
WorldGen.PlaceTile(i, j, type)
i is the x corrdinate of the tile you want to place
j is the y coordinate
type is the id of the tile
Tile coordinates are 1/16 that of the coorinates that entities like npcs use. So if you divide your boss's position by 16 you should get the i and j you need.