Blacklist and Whitelist
ClickMobs uses a blacklist and a whitelist that allow you to customize which mobs you can pick up and which you cannot.
You can edit the blacklist/whitelist in the config.yml file for ClickMobs.
If you haven't read the Configuration section, I recommend you do so first as it explains how to find and edit the configuration file.
Blacklist
You can use the blacklist to disable picking up certain mobs.
The default blacklist is:
blacklisted_mobs:
- ?hostile
- wither
- ender_dragonFAQ:
If you want to enable picking up hostile mobs, you can simply remove the ?hostile line:
blacklisted_mobs:
- wither
- ender_dragonThe ?hostile is a tag, and targets all hostile mobs.
We will look into tags in closer detail in the Tags section.
For empty lists, you need to use [] instead of leaving it empty:
blacklisted_mobs: []If you want to disable picking up a specific mob, you can add it to the blacklist using its full entity name:
blacklisted_mobs:
- cow
- pig
- sheep
- wither
- ender_dragonFor Fabric, if there is no namespace given, it will default to minecraft:.
If you want to target a mob that is added by a mod, you can use the full name with the namespace:
blacklisted_mobs:
- pets:cat
- dragons:fire_dragonWhitelist
The whitelist works in a very similar way to the blacklist, but instead of disabling picking up certain mobs, it enables picking up mobs.
The whitelist has precedence over the blacklist: If a mob is blacklisted and whitelisted, it can be picked up.
The default whitelist is:
whitelisted_mobs:
- cow
- pig
- sheepYou can add mobs to the whitelist using their full entity name:
whitelisted_mobs:
- zombie
- skeleton
- cow
- pig
- sheepTip: You can utilize the whitelist and blacklist together to enable/disable picking up of mobs in fine detail!
i.E: Disable picking up all hostile mobs except zombies and skeletons:
whitelisted_mobs:
- zombie
- skeleton
blacklisted_mobs:
- ?hostile