Skip to content

Omnivorous Pets

Daenvil edited this page Nov 12, 2022 · 12 revisions

Important: as of november 2022, this wiki is deprecated. All new info will be published at my new website:

daenvil.github.io/MCDatapacks/vegancraft.html

This wiki may contain outdated info and it will be removed after some months have passed since the transition.


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

Downloads

1.19+ version

Minecraft supported versions Tested versions

1.16.2-1.18.2 version

Minecraft supported versions Tested versions

Installation

  • Drop the datapack zip file inside the "datapacks" folder of your world folder (<your minecraft folder>/saves/<your world>/datapacks/).

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

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:

List of accepted foods (item ids)
"minecraft:sugar",
"minecraft:spider_eye",
"minecraft:fermented_spider_eye",
"minecraft:dried_kelp",
"minecraft:glow_berries",
"minecraft:sweet_berries",
"minecraft:egg",
"minecraft:turtle_egg",
"minecraft:melon_slice",
"minecraft:sugar_cane",
"minecraft:cooked_chicken",
"minecraft:cooked_cod",
"minecraft:cooked_mutton",
"minecraft:cooked_porkchop",
"minecraft:cooked_rabbit",
"minecraft:cooked_salmon",
"minecraft:pufferfish",
"minecraft:beef",
"minecraft:chicken",
"minecraft:cod",
"minecraft:mutton",
"minecraft:porkchop",
"minecraft:rabbit",
"minecraft:rabbit_foot",
"minecraft:salmon",
"minecraft:cooked_beef",
"minecraft:tropical_fish",
"minecraft:apple",
"minecraft:beetroot",
"minecraft:carrot",
"minecraft:melon",
"minecraft:red_mushroom",
"minecraft:brown_mushroom",
"minecraft:potato",
"minecraft:pumpkin",
"minecraft:wheat",
"minecraft:baked_potato",
"minecraft:bread",
"minecraft:beetroot_soup",
"minecraft:mushroom_stew",
"minecraft:rabbit_stew",
"minecraft:suspicious_stew",
"minecraft:cake",
"minecraft:pumpkin_pie",
"minecraft:bone",
"minecraft: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

  • Cats won't approach you as they do if you hold raw fish, so you will have to catch them somehow or run behind them and throw the food at them (they have an increased "eating range" compared to wolves so that this is not impossible). You can also just throw a lot of food in the ground around them and they will eat it when walking over it. Easiest way is to first leash them so they stop running, and then try to tame them.
  • Stray cats and wolves will eat any valid food which was thrown by a player and which is within their "eating range" (1 block for wolves, 2.5 blocks for cats), so it can happen that you feed them by accident.