A datapack that allows you to tame wolves and cats using any food.

View project on GitHub View datapack on PlanetMinecraft

Downloads

Choose the option compatible with your Minecraft version:

Minecraft supported versions Tested versions

Minecraft supported versions Tested versions

  • Drop the datapack zip file inside the "datapacks" folder of your world folder (<your minecraft folder>/saves/<your world>/datapacks/).
If you have any doubts, consult the Minecraft Wiki.

Features

Taming

Throw food at stray cats or wolves to attempt to tame them. They will eat any food thrown by players if they are close enough to it.

  • Wolves will react the same way as if you just gave them a bone (1/3 chance of being tamed).
  • Cats are picky eaters, so food consumed this way will only have a 20% chance of taming them.

Example of taming a wolf by throwing food at them

Feeding cats

Since cats escape from you except if you are holding raw fish, this datapack implements a workaround for this: stray cats will stop their movement when a nearby player is holding food in their hand. The cat will look at the player for a few seconds expecting to receive food, and then will continue with their normal behaviour.

  • Attacking a cat will temporarily disable this feature.
  • This option can be disabled using the command /function dnv.user:cat_waiting (admin only). Use the same command again to reenable it.

Accepted foods

Basically any food that can be eaten by you —except chocolate cookies— and some others which make sense for animals to eat, like sugar cane and mushrooms. Here’s the full list as it is in the code:

sugar,
spider_eye,
fermented_spider_eye,
dried_kelp,
glow_berries,
sweet_berries,
egg,
turtle_egg,
melon_slice,
sugar_cane,
cooked_chicken,
cooked_cod,
cooked_mutton,
cooked_porkchop,
cooked_rabbit,
cooked_salmon,
pufferfish,
beef,
chicken,
cod,
mutton,
porkchop,
rabbit,
rabbit_foot,
salmon,
cooked_beef,
tropical_fish,
apple,
beetroot,
carrot,
melon,
red_mushroom,
brown_mushroom,
potato,
pumpkin,
wheat,
baked_potato,
bread,
beetroot_soup,
mushroom_stew,
rabbit_stew,
suspicious_stew,
cake,
pumpkin_pie,
bone,
rotten_flesh

Vegancraft

This is a standalone datapack, but was originally designed as a part of Vegancraft, a collection of datapacks with the goal of making a vegan gamestyle possible in a vanilla-like way without missing any game features. Check out my Plant-based Foods datapack if you also want to be able to heal and breed your pets with plant-based food, and some additional features.

Known issues and solutions

  • Stray cats and wolves will eat any valid food which was thrown by a player and which is within their “eating range” (1 block), so it can happen that you feed them by accident.

Image gallery

Changelog

VersionDateSummary
v1 22/Jul/2022 Wolves and cats can be now tamed with any food item (by throwing it at them).

You are allowed to:

  • Download, use, and edit this datapack1 for personal use.
  • Use this datapack or variations of it in a Minecraft server.
  • Publish audiovisual content that uses this datapack or variations of it (e.g. gameplay videos on online platforms), as long as you acknowledge me (Daenvil) as the author of this datapack and provide a link either to this website or to the datapack’s PlanetMinecraft page, if listed above.
  • Share this datapack or variations of it privately (e.g. transferring the files to friends), as long as there is no financial profit involved, the files are not publicly available, and these terms are included with the files you share in text format (these terms are already included in all my datapacks, just don’t remove them).

You are not allowed to:

  • Publish this datapack or variations of it without explicit permission from me.

  1. For all legal purposes, “this datapack” refers to all the files (source code, images, and any other) downloadable from this webpage or from its PlanetMinecraft page, if listed above.