Open rom1504 opened 8 years ago
May be better way is to optimize physics?)
Yes, but that's harder to do. So I'll just limit spawning for now.
So essentially a mob cap?
Yes, I've already did it there https://github.com/PrismarineJS/flying-squid/blob/master/src/lib/plugins/spawn.js#L83 , just didn't check for eggs. Could directly be done in initEntity too
I think it would be better to be done in initEntity
, as it also would be the cap for naturally spawned entities, etc.
Including eggs