Mods / Capture Animals

Category: #Creatures #Magic #Utility
Author: DArkHekRoMaNT
Side: Both
Created: Feb 25th 2021 at 11:16 AM
Last modified: Jan 6th at 3:54 PM
Downloads: 19288
Follow Unfollow 160

Latest file for v1.19.0-rc.5:
CaptureAnimals_VS1.19.0-rc.5_net7_v2.6.1.zip 1-click install


Requires CommonLib for VS 1.18+

image Crowdin

For those who are tired of driving hens or sheep for thousands of blocks 🙃

Cage case can be crafted on an anvil using all tool materials, to turn it into an empty cage, add resin. By default, it captures with a 10 to 25% chance. If you hit and could not capture, then the cage will be downgrade to case, or it will break with a 50-5% chance. The chance depends on the material and is written in the cage tooltip.

You can increase the cage capture chance in two ways:

  1. Decrease the health of the mob. This will give +1% chance for every -2% of the mob's health (50% efficiency). 
  2. Use bait. By default, these types of baits are available in the mod, but you can change, add (or patch with your mod) in config/baits.json, the rest of the cages settings are in the itemtypes/cage.json attributes.

The first and second methods can be used together. 

Default baits:

  • All chicken: any grain, capture chance: 100%
  • All rabbits: carrot, capture chance: 100%
  • All pigs: turnip, capture chance: 50%
  • All sheep: cabbage, capture chance: 50%
  • All foxes: raw poultry, capture chance: 25%
  • All wolf: raw redmeat, capture chance: 25%

 

Below 2.0.0 - see main forum post (homepage link)

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v2.6.1 2037 Jan 6th at 3:54 PM Show CaptureAnimals_VS1.19.0-rc.5_net7_v2.6.1.zip Install now
v2.6.0 54 Jan 6th at 3:33 PM Show CaptureAnimals_VS1.19.0-rc.5_net7_v2.6.0.zip Install now
v2.5.3 5485 May 13th 2023 at 9:59 PM Show CaptureAnimals_v1.18.2_v2.5.3.zip Install now
v2.5.1 272 May 12th 2023 at 5:17 PM Show CaptureAnimals_v1.18.2_v2.5.1.zip Install now
v2.5.0 1279 Apr 4th 2023 at 11:21 AM Show CaptureAnimals_v1.18.0-rc.1_v2.5.0.zip Install now
v2.4.0 464 Mar 12th 2023 at 6:29 PM Show CaptureAnimals_v1.18.0-pre.6_v2.4.0.zip Install now
v2.3.0 3147 Sep 22nd 2022 at 9:55 AM Show CaptureAnimals_v1.17.4_v2.3.0.zip Install now
v2.2.0 672 Sep 10th 2022 at 4:19 PM Show CaptureAnimals_v1.17.3_v2.2.0.zip Install now
v2.1.1 1980 Mar 6th 2022 at 3:21 PM Show CaptureAnimals_v1.16.4_v2.1.1.zip Install now
v2.1.0 997 Dec 13th 2021 at 5:11 PM Show CaptureAnimals_v1.16.0-pre.8_v2.1.0.zip Install now
v2.0.1 1301 Jul 25th 2021 at 12:46 PM Show CaptureAnimals_v1.15.2_v2.0.1.zip Install now
v2.0.0 420 Jul 24th 2021 at 9:41 AM Show CaptureAnimals_v1.15.1_v2.0.0.zip Install now
v1.3 1180 Feb 25th 2021 at 11:19 AM Show CaptureAnimals_v1.14.2_v1.3.0.zip Install now

29 Comments (oldest first | newest first)

💬 pudgydumpling, Feb 9th at 2:17 AM

Creative cage just keeps saying "Undefined entity in cage", vanilla and modded animals included :/

💬 Novalee, Jan 21st at 8:10 PM

Has anyone tried this with tamed animals? I'm curious if they'll retain their bred generations or petai tamed status when captured.

💬 RikeiR, Jan 6th at 10:19 PM

@DArkHekRoMaNT

OK!

💬 DArkHekRoMaNTAuthor, Jan 6th at 3:51 PM

Added. You can change it on Crowdin RikeiR

💬 WickedSchnitzel, Dec 9th 2023 at 8:28 PM

I had the same problem. Thanks for sharing @ThePirateBrew
edit: this unfortunately seems to override "excluded entities".

💬 ThePirateBrew, Nov 10th 2023 at 7:27 AM

For some reason the config for included entities doesnt work whatsoever in 1.18.15. Ive changed up the config several times to include modded animals, both with and without wildcards. Maybe my syntax is wrong? If i add anything to included i just get "animal cannot be captured" unless its a base game animal.

EDIT: After some testing, using "/cl config captureanimals includeentities *:*" fixes all mod compatibility issues, looks like it was a syntax error on the wildcard side.


The config value should look like this:   "Value": "*:*"

💬 RikeiR, Nov 3rd 2023 at 2:51 PM

@DArkHekRoMaNT

Thank you for making such a great mod.

Japanese translation for CaptureAnimals_v1.18.2_v2.5.3 is here!

ja.json

💬 1Joachim1, Jun 1st 2023 at 7:42 AM

DArkHekRoMaNT i had it downloaded and in the mods folder, while it's true that i tried to download the capture animals itself i didn't even think about doing the same with commonlib. i'll take a look. thanks and sorry.

💬 DArkHekRoMaNTAuthor, May 31st 2023 at 7:39 PM

CommonLib 1Joachim1

💬 1Joachim1, May 31st 2023 at 7:02 PM

when i try to activate it in my game it says (in spanish so i'm translating it) "unable to resolve mod dependencies, check the registry files." i'm on my steam deck (linux, flatpack) what should i look for? is there any log for that?

💬 DArkHekRoMaNTAuthor, May 13th 2023 at 10:16 PM

In the last version, I added a config for allowed animals WickedSchnitzel

The bait bonus may differ, depending on the animal. Therefore, only the base efficiency is shown on the cage OpPointBaker

💬 WickedSchnitzel, Apr 23rd 2023 at 12:06 PM

There should be a config to blacklist creatures like traders. People are kidnapping these.

💬 OpPointBaker, Apr 12th 2023 at 9:44 AM

Playing 1.18.0-rc.2 using v2.5.0. When I add grain to an empty cage the window shows the updated capture rates, hoever when I close the window and mouse over the cage it still shows the empty 50% rates. Is this the normal behavior or is the tool tip supposed to update to reflect the bait in the cage?

💬 Babbydoll24, Mar 13th 2023 at 5:12 PM

thank you so very much.

💬 Babbydoll24, Mar 13th 2023 at 7:37 AM
💬 Babbydoll24, Mar 13th 2023 at 7:37 AM
💬 DArkHekRoMaNTAuthor, Mar 12th 2023 at 6:30 PM

Updated Babbydoll24

💬 Babbydoll24, Mar 11th 2023 at 10:29 PM

will this work in 1.18?

💬 DanaCraluminum, Sep 22nd 2022 at 10:00 AM

It would be great to have cages ground storable

💬 DArkHekRoMaNTAuthor, Sep 22nd 2022 at 9:57 AM

Yes. But if baits are not registered for them - only default chances from the cage Stejer

💬 Heebeejeebees, Sep 14th 2022 at 10:02 AM

Causes unhandled exception with player corpse — corpse doesn't generate, waypoint isn't created. For people wanting to put animals in cages and find their way back to where they died for recollecting their stuff, you're going to lose your stuff.

Well colour me damned I didn't know there was an update for Player Corpse until it was brought up on GitHub. Thanks!

💬 Stejer, Sep 13th 2022 at 8:51 PM

Can you catch animals from other mods with this?

💬 MagentaLizard, Sep 12th 2022 at 1:43 AM

Yes thank you!

💬 MagentaLizard, Sep 6th 2022 at 2:48 AM

God please update this for 1.17.2 that'd be amazing. I wanna make a massive bear pit.

💬 Cendar, Jan 19th 2022 at 4:28 AM

Hi! I made a french translation for your mod, feel free to add it if you want. 😊

fr.json - CaptureAnimals 2.1.0

💬 DArkHekRoMaNTAuthor, Dec 13th 2021 at 5:12 PM

CaptureAnimals v2.1.0 compatible with 1.16.0-pre.8 or higher, not compatible with 1.15.10

💬 DArkHekRoMaNTAuthor, Jul 24th 2021 at 11:07 AM

CaptureAnimals updated to 1.15
Warning! 2.0.0+ is not compatible with older versions, you will lose all your cages.

💬 BotenRedWolf, Jun 20th 2021 at 5:42 PM

Hoping to use it on 1.15 but tis broken. Any plans to bring it up to 1.15 soon?

Version: v1.15.0-pre.4 (Unstable)6/20/2021 12:40:09: Critical error occurred
System.MissingFieldException: Field not found: 'Vintagestory.API.Common.CollectibleObject.Attributes'.
at CaptureAnimals.ItemCage.GetHeldItemInfo(ItemSlot inSlot, StringBuilder dsc, IWorldAccessor world, Boolean withDebugInfo)

💬 WickedSchnitzel, Apr 17th 2021 at 7:58 AM

v1.3.0 - [Warning] Failed resolving a blocks itemdrop or smeltedstack with code captureanimals:cage-blistersteel-case in smithing recipe captureanimals:recipes/smithing/cage-case.json

(edit comment delete)