Ender dragons and withers does not have same spawning rules as regular hostile mobs, and they does not despawn, but they can still affect the mob cap.
Steps to reproduce
Create a void superflat world
Press F3
Summon the ender dragon and wither
Observe the mob cap (M:*)
❌ → The hostile mob cap is increased.
Observed result:
The ender dragons and withers does not affect the mob cap.
Expected result
The ender dragons and withers can affect the mob cap.
Linked issues
relates to 1
Attachments
Comments 3
Please update the description to include steps to reproduce this issue, as well as expected VS observed results.
Please also attach any needed commands, datapacks, resourcepacks, screenshots, videos or worlds needed to help reproduce this issue.
Relates to MC-272975
Update: Can confirm.