In order to optimize the server performance, several changes have been made which could alter the way mob farms work. The most notable changes are as follows:
The hostile mob cap is per-player rather than per-world.
The entity cramming limit is set to 8.
The soft despawn range is 28 and the hard despawn range is 96.
The ticking view distance is 4.
If many iron golems already exist near a village, the village will not spawn any new iron golems.
Villagers tick significantly less often when the tps is low.
Villagers will run their acquirepoi behavior 1/4 as often.
Zombies are not aggressive towards villagers when the tps is low.
A chunk will only save up to 1 hopper minecart and 16 of any individual passive mob type. Any extras will despawn when the chunk is unloaded.
Entities that are far from players tick less often.
Piglin runs on Purpur which includes all of Paper's patches, some of which might slightly toy around with technical details, but aims to be as close to vanilla as possible.