I doubt no one has reported this but i looked through all the posts referring to mobs and i couldn't find it
Procedure
Place 10 armorstands (this is needed to bring the entity total to a minimum of ten for the command to work)
run this command:
/execute as @e[c=10] as @e[c=10] run /summon cow 0 0 0
This should summon 100 cows at 0 0 0
Observe behavior of cows
Expected result: cow explosion
Observed result: big mass of 100 cows drifts around slowly shooting out one cow at a time in a random direction
This behavior started occurring after one of the 1.19 bugfixes
I use commands and i have needed to do something like this more than you would think and it is strange that i should have to wait upwards of a full minute for the animals to separate depending on how many i spawned in
Linked issues
is duplicated by 1
Comments 4
Mobs naturally spawning at the same point was reported at MCPE-66319 and resolved by Mojang as "Won't Fix".
Collision has never pushed overlapping spawned mobs apart until one starts to change position, probably because collision is only factored as part of position updates. It's not like real-life physical things that have intrinsic continuous spontaneous energetic interaction with the rest of the physical world.
That being said, I do think you may be right that at some point in the past, as soon as one mob moved they would all split apart. Now only the mob that tries to move gets ejected from the group. I noticed this when teleporting mobs to a single spot in 1.19.83. This may be intended as a optimization measure, to reduce the number of collision-momentum calculations the game performs when mobs bump each other.
For the summoning -> spreading scenario, could you achieve what you want by placing the armor stands at slightly different positions?
Um no the armorstands one and only purpose is to increase the minimum number of entities to 10 because it is not guaranteed that it would be the case on a new world especially a superflat, the command i gave translated to english says: tell 10 entities to each tell 10 entities to each summon a pig at position 0 0 0
If 10 entities each tells ten entities to each summon. A pig then 10x10=100 so 100 pigs
This occurs if you spawn mobs with a repeating cmd or with spawn eggs honestly i just really like that trick i used which is why i used it in the instructions
The issue is that the behavior is incredibly strange like someone forgot a minus sign
if you dont want to maually recreate. it i can record and attach a video of it
I've seen a similar issue that mostly happens with sheep in Creative mode.
2-4 sheep will spawn on the same block and get stuck until I go over and manually push them apart.