Open Eufranio opened 6 years ago
What would stacking such entities do?
Reduce the lag caused by mob farms. So, if there are 30 mobs close to each other on a mob farm, they would form 1 entity only.
That doesn't really answer the question. How would/should the stacked entity behave, how should it interact with the rest of the world.
Oh, my idea is the following: when there are X mobs with the same entity type near each other, they would all be "killed", and one stacked entity would spawn, holding an reference to the X mobs that were stacked. When killing this stacked entity, it would drop the items and die normally, and would spawn another stacked entity with X - 1 mobs. So, if there are 10 zombies, stack them into one entity. Killing the stacked entity updates its value to 9, then 8, then 7, and etc.
Similar to this plugin.
Couldn't you just use the plugin then?
The plugin doesn't work for modded entities, neither is a Sponge plugin (so no way to use it on modded 1.8+ servers). This would be nice to see on Stackie.
I would like it too
The reason why it doesn't work with modded entities is that there is no way to safely stack them. Which modded mobs are considered similar enough to get stacked?
A whitelist for mobs that would be allowed to be stacked maybe?
Which modded mobs are considered similar enough to get stacked?
A couple of wisps for exemple. Or firebats (yeee firebats screw up a lot...)
I
Only vanilla stacking is enough as well.
Could this mod stack entities like zombies, skeletons, etc?