In the version of VanillaTweaks I use in my modpack Lennbain (VanillaTweaks version 1.18.2-1.5.57), silk touching spawners works properly in singleplayer/LAN (a zombie spawner, when picked up with silk touch can be placed back down again still as a zombie spawner) but on the server all the spawners become just pig spawners when placed back down.
In the version of VanillaTweaks I use in my modpack Lennbain (VanillaTweaks version 1.18.2-1.5.57), silk touching spawners works properly in singleplayer/LAN (a zombie spawner, when picked up with silk touch can be placed back down again still as a zombie spawner) but on the server all the spawners become just pig spawners when placed back down.