Striders have a surface density check, but are underground mobs
In the data-driven spawn rules for striders, there is a density_limit of 3 surface striders. Striders, like all nether mobs, are underground-only spawns. This limit doesn't do anything, so it either needs to be removed or changed to be a underground limit.
Created Issue:
Striders have a surface density check, but are underground mobs
In the data-driven spawn rules for striders, there is a density_limit of 3 surface striders. Striders, like all nether mobs, are underground-only spawns. This limit doesn't do anything, so it either needs to be removed or changed to be a underground limit.
Deleted Comment:
Looking at the .220 behavior pack, it appears this was fixed at some point.
Added Affects Versions: 1.16.221 Hotfix 1.16.220
Added Attachments:
Added ADO: 516214
Added Linked Issues:
relates to
Added Affects Versions: 1.17.41 Hotfix
Added Affects Versions: 1.19.0

Confirmed
Could you add some context as to the reason why this should be changed, and its impact?
Right now, striders have a surface density cap of 3. This is dead code. Striders, like all nether mobs, are not surface mobs, and never spawn on surface spawning spots. Not many people understand the distinction between cave and surface spawns, and that the nether only has cave spawns. This dead code causes confusion as to what the spawning cap is for Striders. It looks like it is 3, but it is actually 4, which is the cave cap for underground animals in the nether.
I do not know what intended behavior is. Are striders supposed to have a cap of 3 or 4? Depending on the answer, the code should either be removed or changed to an underground density cap of 3.
The impact of this is that striders can fill the nether animal cap and completely block hoglins from spawning. If striders were limited to 3 then the they would not be able to fully block hoglin spawns within a density check area. I think it makes sense to limit striders in this way because they can be hard to hunt down to open cap space since they spawn out in the lava.
According to the wiki page on striders, in Java Edition striders and hoglins do not impact each other's spawning because they fall into different mob categories. On the spawn page it says Java hoglins are are monsters.
This also relates to MCPE-98073: even a density cap of 3 for striders would only allow 1 hoglin to spawn within 4 chunks.
If the animal cap was raised to 8, and both striders and hoglins have a density cap of 4, they would not block one another.