There can only be 20 wolves within 4 blocks of each other.
Example 2:
This shows that there can be no more than 30 villagers withing 40 blocks from each other.
Example 3:
This shows that there can be no more than 30 entities (regardless of type) withing a distance of 2 blocks from each other. However, villagers and dropped items are exempted.
Below are the entity limits
- entities: all
exclude: villager, dropped item
worlds: all
distance: 2
max-amount: 35
- entities: dropped item
worlds: all
distance: 4
max-amount: 500
- entities: pig, cow, sheep, chicken, mushroom cow, rabbit, panda, turtle, tropical fish, salmon, cod, bee, horse, allay
worlds: all
distance: 6
max-amount: 20
- entities: wolf
worlds: all
distance: 6
max-amount: 20
- entities: fox
worlds: all
distance: 6
max-amount: 20
- entities: zombie, skeleton, spider, cave spider, blaze, creeper, stray
worlds: all
distance: 4
max-amount: 10
- entities: zombified piglin
worlds: all
distance: 4
max-amount: 25
- entities: villager
worlds: all
distance: 40
max-amount: 30
- entities: frog
worlds: all
distance: 50
max-amount: 30
- entities: turtle
worlds: all
distance: 5
max-amount: 10
- entities: minecart, minecart chest, minecart furnace, minecart hopper, boat, chest boat
worlds: all
distance: 10
max-amount: 30
- entities: iron golem
worlds: all
distance: 5
max-amount: 5
- entities: experience orb
worlds: all
distance: 4
max-amount: 25