Data Packs Block

Just Pet Bed

  • 763 views • 9 today
  • 87 downloads • 0 today
Compatibility
Minecraft 1.21
Changes include
  • Advancements
  • Functions
  • Loot Tables
  • Predicates
  • Recipes
JustJabka
Level 46 : Master Nerd
40

📖 About

This datapack adds a pet bed to the game, which can be crafted from two planks and two wool (16 variations in total, one for each wool color). If your pet has rested on it, then after its death it will respawn on it after one in-game day, similar to how the player respawns on a bed.

❓ FAQ

Which pets can interact with the pet bed?
Currently, wolves and cats can interact with the pet bed. You can also add other entities via a tag (see “For Developers”).

How can I stop my pet from being respawned?
If you want to remove your pet's spawnpoint, you simply need to destroy the pet bed it is linked to.


🧑‍💻 For Developers

You can specify in the entity type tag (pet_bed/tags/entity_type/pets.json) pets from your mods that will be able to interact with the pet bed

1 Update Logs

Update 1.1 : by JustJabka 02/21/2026 11:40:39 amFebruary 21 @ 4:40 pm UTC

  • Updated JabkaCore to JustLib (basically rebranding and new modules)
  • Moved Pet Bed block logic from the datapack to the JustLib Block Module
  • Fixed Pet Bed z-fighting
  • Fixed missing Pet Bed place sound

  Have something to say?

gcldensunlight
04/07/2026 2:29 am
They/Them • Level 1 : New Explorer
hiya, i'm having issues with this mod basically cloning my dogs — they seem to be "respawning" even though they haven't actually died. i've tried breaking the beds, but the clone dogs are still appearing where the beds used to be. some of them have done this at least ten times now lol

any ideas what might be going wrong and how to fix it?
1
belugaenjoyer
02/20/2026 3:06 pm
Level 1 : New Miner
Thank you for making this datapack!
Just wanted to let you know that the texture is flickering heavily for me. Maybe because i use shaders (ComplementaryReimagined)?
If anyone knows of a solution, please let me know. Would love to actually use the beds.
2
JustJabka
02/21/2026 11:41 am
He/Him • Level 46 : Master Nerd
Hello! I checked, and this issue does indeed exist, it occurs in two cases. The first is if you look at the pet bed from a very high height (but this is not very critical, since it stops rendering after a few more blocks), and the second case occurs with shaders. I tweaked some values in the model, and now these two issues should be fixed🥳.I also decided to update the blocks logic, so I recommend breaking all pet beds before updating and crafting new ones after. I don't like doing this either, but unfortunately, datapacks cannot handle breaking changes properly😔
2

Welcome