Minecraft Data Packs / Item

Inventory Pets v1.3.1

  • check_circle Functions
  • check_circle Loot Tables
  • check_circle Predicates
  • check_circle Recipes
  • 32,650 views, 4 today
  • 6,627 downloads, 0 today
  • 78
  • 92
  • 46
Required Resource Pack
Command Witchery's Avatar Command Witchery
Level 63 : High Grandmaster Robot
Inventory Pets

Inventory Pets v1.3.1 Minecraft Data Pack

I have recreated the inventory pets mod in vanilla minecraft! This datapack adds 10 inventory pets to your world! Aren't they cute?
( If you encounter any bugs, please let me know in my discord <3 )

This datapack as of v1.3.0 is only for minecraft 1.17, however you can get the minecraft 1.16 in my Discord!

Twitch IconTwitch
If you want to know how I made this datapack and more, I live streamed the entire process on my Twitch Channel: CommandWitchery.

Using the datapack

Inventory Pets v1.3.1 Minecraft Data Pack

This datapack adds 10 pets, all of which give you some advantage. They also need food, or else they get hungry:

The difference here is that there is an empty durability bar, and the item has a more gray texture.

I made it so there are 2 types of food: passive food, which is consumed over time, and also food used by special abilities. In the image above, the top row are the pets, then the passive foods, and then the ability foods. For instance, the Iron Golem pet eats iron ingots every once in a while, and eats an iron block whenever you right click it for its ability. Speaking of the abilities, here is a list of what each pet does!

  • Blaze pet: Gives you fire resistance
  • Slime pet: Gives you jump boost V
  • Iron golem pet: Gives you resistance I, on right click gives 10 absorption hearts
  • Squid pet: Gives you water breathing and dolphin's grace
  • Phantom pet: Gives you slow falling
  • Creeper pet: Makes you explode on right click
  • Witch pet: Cures you of poison
  • Apple pet: Eats apples for you whenever you are hungry
  • Chicken pet: Gives you speed I
  • Enderman pet: When you take damage randomly teleports you


Crafting Icon

Obtaining the items can be done in 4 different ways:
the 1st way is when you have OP, all you need to do is to run "/function inventory_pets:give", and you get every pet right away!

The 2nd way is to have my Lucky Block datapack enabled, since this datapack taps in on this one, and (if enabled) has a chance of dropping a random Inventory Pet!

The 3rd way of getting the items, is to find a Wandering Trader! The last trade (unless you have another datapack on that also changes Wandering Traders) will always be: 10-20 emeralds => a random Inventory Pet

The 4th way of obtaining them, is to simply craft them:

Blaze pet:

Slime pet:

Iron golem pet:

Squid pet:

Phantom pet:

Creeper pet:

Witch pet:

Apple pet:

Chicken pet:

Enderman pet:


I also have added some advancements, so far its only 2 advancements (1 for gettings your first pet, and 1 for getting all pets), but I plan on adding more over time.

P.s. Because of some technical stuffs with replacing items, you can rename the pets, and it doesn't break anything!

That is it for now, I hope you all enjoy this datapack!

- Command Witchery
CreditHuge thanks to rx97, for looking at my datapack and telling me how to optimize it! https://www.planetminecraft.com/member/rx97/
CompatibilityMinecraft 1.16
toMinecraft 1.17

6 Update Logs

Update V1.3.0 : by Command Witchery 07/17/2021 9:32:43 amJul 17th, 2021

- Added an update log ingame
- Updated to 1.17
- Added advancements

Bug Fixes
- Significant(ish) lag optimisations

Create an account or sign in to comment.

02/27/2023 1:40 pm
Level 5 : Apprentice Explorer
DreamGleam's Avatar
Love the way how they all give you different powers!!!
11/20/2022 12:59 pmhistory
Level 1 : New Explorer
master k
master k's Avatar
update ples
09/01/2021 6:43 am
Level 1 : New Miner
User3564636G's Avatar
this feels like the inv pets mod for 1.12.2
08/22/2021 4:33 am
Level 25 : Expert Crafter
Mashrafiplays's Avatar
its kinda sus they eat what they drop tho...
08/22/2021 5:58 am
Level 63 : High Grandmaster Robot
Command Witchery
Command Witchery's Avatar
08/22/2021 1:23 am
Level 31 : Artisan Engineer
rx97's Avatar
Hmm, I'm finding that all inventory pets just consume food and then don't give me any effects. I'll do more digging to find out what's going on since I'm running a bunch of other datapacks. I'd be confused if there were any collisions though.
08/22/2021 6:02 am
Level 63 : High Grandmaster Robot
Command Witchery
Command Witchery's Avatar
Strange, It seems to be working in my testing world with just my pack, so it could be other packs but I properly prefixed all scoreboard objectives with "ip." so it would be quite weird if thats the case. Please let me know what you find out!
08/08/2021 11:57 amhistory
Level 25 : Expert Miner
CoreyByte's Avatar
You should try to make the rest of the pets from the mod XD
07/19/2021 5:39 pmhistory
Level 31 : Artisan Engineer
rx97's Avatar
Hey, nice to see this updated (you going to go for the gold-star again 👀). Anyways, I bought a blaze pet and fed it some quarters (heard eating sounds), but I received no fire resistance.
07/19/2021 6:50 pm
Level 63 : High Grandmaster Robot
Command Witchery
Command Witchery's Avatar
Uhh the blaze pet is working in my test world, so might be an edge case which I somehow hadn't noticed before... Does the pet look hungry still? Other than that I dont really know what it could be

Also, yes I spent quite a bit on this updating some things to include 1.17 features so its slightly more optimised I think :P
Planet Minecraft


© 2010 - 2024