randomspawning doesn't work with view-distance: 6 and sim distance: 4 on paper 1.20.6
if you use for example default view distance and simulation distance (10) they work fine but, reducing it to 6 and 4 the mobs doesn't spawn at all or only spawns when you teleport and load a chunk