Hook an animal with a fishing hook to get a compact item version of that mob! The egg retains all traits of the targeted mob including name, sheep wool color, horse stats, inventory, etc. Instruction file included. Should be multiplayer compatible but not guaranteed, I haven't been able to test it on a server. I'm open to suggestions for improvements!
(some of the taller mobs including villagers are a bit finicky, casting at their feet or off to the side a bit works best)
Not sure if you'll see this comment, but I want to let you know of a few fixes I found for some issues. After picking up a mob egg, it will not spawn a mob when used unless the original one has died. Teleporting it into the void is a good idea to make it disappear but it take awhile to kill the mob. A simple kill self after the teleport line does the trick. Also the reason catching villagers is iffy is because the target point is at their feet. I increased the "distance=..1.50" to 1.57 and it works perfectly with a normal bobber throw.
Also keep in mind that because mob eggs used on adult versions will spawn a baby version of that mob, meaning you should be very careful not to spawn your perfectly optimized villagers on another villager by accident, or it will spawn as a baby and its data will be lost. Same with horses and baby zombie villagers.
I downloaded this datapack so i could move my villagers to my iron farm easily, but when i hook a villager nothing happens. Is there some special way you have to catch villages?
Mobs with inventory (donkeys/mules with chests) are vanishing along with the item when the spawn egg is used. This has happened on both occasions I have tried, once with a donkey, and once with a mule. It might be worth considering to just remove them from the list of mobs that can be caught in this way, as if the funcitonality worked, it would theoretically allow a player to create infinite inventory slots by filling a mule chest with mule spawn eggs with chests filled with spawn eggs ad infinitum.
Sorry I'm not quite understanding, is there an issue when you catch/release a mob with an inventory? It works fine on my end, is there a way I can replicate how it's not working for you?
The infinite inventory thing isn't really intended but there isn't really a way to restrict a player from putting an egg in a mob's inventory before catching it. Removing mules and donkeys specifically wouldn't be too hard and would fix this albeit in sort of a ham-fisted way. I'll think about this some more tomorrow
Yes, I can 'catch' a mule or donkey with a chest, but trying to release it expends the spawn egg without actually spawning the mob, effectively deleting it and the inventory from existence.
Hello again! We've really enjoyed this data-pack so far, but we found another bug. If you hook a sleeping villager it seems to generate eggs from that villager indefinitely.
Does the position thing happen with other animals and stuff? It'd be weird if it was just villagers.
Yeah, villagers are really tall. I didn't want to make the radius of the bobber too big because it might catch something else by accident, but the bobber goes so high when it hooks them. I may revise this in the future. Thanks for telling me.
Create an account or sign in to comment.
Also keep in mind that because mob eggs used on adult versions will spawn a baby version of that mob, meaning you should be very careful not to spawn your perfectly optimized villagers on another villager by accident, or it will spawn as a baby and its data will be lost. Same with horses and baby zombie villagers.
While I can't say whether or not Firebug will ever update the pack, it does still function in 1.15+ and 1.16+.
It only works on the mobs listed, however, and does not work on bees, or striders.
The infinite inventory thing isn't really intended but there isn't really a way to restrict a player from putting an egg in a mob's inventory before catching it. Removing mules and donkeys specifically wouldn't be too hard and would fix this albeit in sort of a ham-fisted way. I'll think about this some more tomorrow
Yeah, villagers are really tall. I didn't want to make the radius of the bobber too big because it might catch something else by accident, but the bobber goes so high when it hooks them. I may revise this in the future.
Thanks for telling me.
Where can we find more info on this ?