Mob Catcher

This script allows players to “catch” mobs in Minecraft using a specified item (default: stick) and receive the corresponding spawn egg.


🎬 YouTube Demo


đź§© Code

https://github.com/sam-ple/minescript-scripts/blob/main/mobcatch.py

[https://github.com/sam-ple/minescript-scripts/blob/92a04dcd99a4b6ee464b84eec379c663cf367e52/mobcatch.py#L1-L244:embed:lang=python:h400]


đź’¬ In-Game Commands

Use these commands via chat:

Command Description
--setitem <item> Set the item used to catch mobs
--sethand onhand/offhand Choose main or offhand for the item
--setclick left/right Use left or right click to catch
--setdist <number> Set the max distance to target mobs
--info Show current settings
--reset Reset to default settings
--help Show this command list

đź§Ş Example

To catch a mob using a carrot in your offhand with right-click and a max distance of 5 blocks:

--setitem minecraft:carrot
--sethand offhand
--setclick right
--setdist 5