A while ago, I created an add-on that allows you to create a mob-grinder in one block. I reworked that add-on for 1.16 and future versions. This add-on adds a block that grinds mobs by placing their spawn eggs inside. The interval would understandably take some time in order to balance everything, though this is not an efficient solution to big mob-grinders.
Select version for changelog:
Changelog
Added
Added goat and glow squid support for mini-mob grinders.
the link:
pls if you can remake pls I will really appreciate it.
In creative mode, this addon is useless