Minecraft Username: Gluupor Brief Description: pig zombies, zombie villagers and regular zombies glitch through walls when killed while stacked Instructions: have a stack of the above mentioned and kill them close to a wall How many times did you recreate this?: at least 10 times Result: the amount of mobs die as defined in the stackmob plugin and sometimes the remaining stack glitches through a wall Expected Result: mobs to stay in place like any other mob does (this does infact not happen to any of the other mobs) Evidence: Before: After:
This is because when a mob is killed in a stack, it spawns a new mob. The mob interferes/doesn't have a safe space to spawn and therefore goes to the next available spot. Not something on the stacking side really
why is this not happening with different mobs than zombie type ones then? not spiders, not creepers, not skeletons, not witches. the baby zombies arent glitching through walls either.
https://github.com/Gluupor/StackMob-2/commit/97f8d0ae26af8a1f2a6dba6482e4e9288e4d6f5b i tested this for a good 20 mins locally and didnt have any zombie'ish entities glitching through a wall. the issue remains with bigger entities like horses, donkeys and such (yes there actually is a problem with them as well even before the change i made and tested). dealing with that would require more intenisve checking and figuring out a decent location to spawn the new entitiy in. then again this would be impossible when people drop those kind of entities in a 1x1 block space and then proceed to kill them.
did some testing lasting like 1-1.5h and havent had any of the mentioned enities glitch through walls.