Stackie

Stackie

9M Downloads

Stack entities

Eufranio opened this issue ยท 10 comments

commented

Could this mod stack entities like zombies, skeletons, etc?

commented

What would stacking such entities do?

commented

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.

commented

That doesn't really answer the question. How would/should the stacked entity behave, how should it interact with the rest of the world.

commented

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.

commented

Couldn't you just use the plugin then?

commented

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.

commented

I would like it too

commented

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?

commented

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

commented

Only vanilla stacking is enough as well.