Player data & inventories · Java · Advanced

How to Find Lost Pets in Your World Save and Reassign Their Owner UUID

Losing a beloved tamed wolf, cat, or parrot in a massive survival world—or losing command over them after changing your account or switching offline modes—can be frustrating. Because pet locations and ownership records are permanently written into your world's region data, you can inspect the raw save files to recover their exact coordinates and transfer them to a new player. This guide walks through using our browser-based NBT Editor to locate lost pets and rewrite their owner UUIDs locally without uploading your world files anywhere.

Open the NBT EditorOpen and edit any NBT file: level.dat, player data, structures, schematics, Bedrock files.

What you need

  • A Minecraft Java Edition world folder or .zip backup (version 1.17+ recommended, where entity data is stored in a dedicated entities folder).
  • A full backup copy of your world folder stored safely before making any edits.
  • Access to our online NBT Editor tool (all file processing runs directly in your browser).
  • Your current player UUID or access to your level.dat / playerdata files to look it up.

Step by step

  1. 1Back Up Your World and Find Your Target Player UUID

    Before touching any save data, duplicate your entire world folder so you can easily restore it if a tag is corrupted. Next, open our NBT Editor and load your world folder or .zip file. For singleplayer worlds, navigate to level.dat -> Data -> Player and look for the UUID tag, which is an IntArray of four 32-bit integers (shown as [I; a, b, c, d]). Write down or copy all four numbers in exact order, because Minecraft uses this four-integer array to verify which player controls a tamed mob.

    Tip: If you are preparing the world for a multiplayer server or another player, check the playerdata/<uuid>.dat files instead and copy the UUID IntArray from inside the target player's file.

  2. 2Locate the Entities Folder for the Right Dimension

    In Minecraft Java 1.17 and newer, entities were separated from block chunks and moved into their own directory to improve game performance. In the NBT Editor file tree, expand the entities folder for the Overworld, DIM-1/entities for the Nether, or DIM1/entities for the End. Inside, you will see region files named r.X.Z.mca, where each file covers a 512x512 block area (32x32 chunks).

    Tip: If you are playing on version 1.16.5 or older, entities are still stored inside the region/r.X.Z.mca files under each chunk's Level -> Entities list.

  3. 3Search Region Files for Tamed Pets

    Open the .mca files inside the entities folder around the general region where you last saw your pet, or use the NBT Editor search function to filter by tag name or value. Look through the non-empty chunks for the Entities list and inspect individual compound entries for the id tag matching minecraft:wolf, minecraft:cat, or minecraft:parrot. If your pet had a nametag, you can also search directly for the CustomName tag to jump straight to the exact entity entry.

    Tip: You can tell a wild animal apart from a pet by checking if the entity compound contains an Owner tag (or Sitting: 1b).

  4. 4Read the Pet's Coordinates from the Pos Tag

    Once you find your pet's entity compound inside a chunk, locate and expand its Pos list tag. This list contains three Double values representing the exact X, Y, and Z coordinates of your pet in the world. Write these coordinates down so you can walk or teleport directly to your pet the next time you load the game.

    Tip: If you also want your pet to stand up immediately when the chunk loads, change its Sitting byte tag from 1 to 0.

  5. 5Reassign the Owner Int-Array Tag

    Inside the same pet entity compound, locate the Owner tag (an IntArray formatted as [I; num1, num2, num3, num4]). Edit the four integers inside the Owner tag so they exactly match the four integers of the player UUID you copied in Step 1. Why this works: when you right-click a tamed animal in-game, the server compares your live player UUID array against the entity's Owner array; if all four integers match, the pet obeys your commands and teleports to you when standing.

    Tip: In versions prior to 1.16, this tag was named OwnerUUID and stored as a standard hyphenated string instead of a four-integer array.

  6. 6Save Changes and Replace Your World File

    After updating the Owner tag (and optionally the Sitting tag), click the Save or Download button in the NBT Editor to export your modified .mca region file. Place the downloaded r.X.Z.mca file back into your world's entities folder, overwriting the old file of the exact same name. Launch Minecraft Java Edition, load your world, and travel to the coordinates you noted from the Pos tag to reunite with your pet.

    Tip: Make sure Minecraft is completely closed—or at least exited to the main menu—before replacing any .mca files in your saves folder.

How it works

Starting in Minecraft Java Edition 1.17, Mojang split chunk storage into three distinct Anvil (.mca) directories: region for terrain blocks, poi for villager points of interest, and entities for mobs, boats, and dropped items. Every .mca file holds a grid of up to 1,024 chunks. When a chunk unloads while your pet is sitting, the game serializes that mob's entire state into the corresponding r.X.Z.mca file inside the entities folder, freezing it in place until a player comes close enough to load that chunk again.

Since Java Edition 1.16, all UUIDs inside NBT data—including a player's own UUID and a tamed mob's Owner tag—are stored as an IntArray of four 32-bit signed integers rather than a hexadecimal text string. A 128-bit UUID is mathematically split into four 32-bit chunks. Because the Owner tag directly mirrors the player's UUID IntArray, copying the four integers from level.dat into a wolf, cat, or parrot's Owner tag immediately transfers ownership without requiring any hexadecimal conversion.

When a tamed pet is sitting (Sitting: 1b), its AI teleportation goal is disabled. Even if you own the pet, it will never teleport to you if it is sitting or if the chunk it resides in is unloaded. By checking the Pos tag in the entity's NBT data, you bypass the need for the chunk to be active in memory and can pinpoint where the animal was left behind.

Common mistakes

  • Looking inside the region folder instead of the entities folder on Minecraft 1.17+ worlds; in modern versions, the region folder only holds block and biome data, not mobs.
  • Entering a hyphenated hexadecimal UUID string into the Owner tag on 1.16+ worlds instead of the required four-integer IntArray ([I; a, b, c, d]), which causes the game to ignore or delete the invalid tag.
  • Overwriting the .mca file while the world is still open in Minecraft, which causes the game to overwrite your edits from memory when you save and quit.
  • Expecting a pet in an unloaded chunk to immediately teleport to you after changing its Owner or Sitting tag; you must still travel close enough to load that chunk so the entity ticks.

FAQ

Why can't I find my pet in any of the entities .mca files?

If your pet died, it is permanently removed from the chunk's Entities list. However, if it rode a portal, remember to check the entities folder inside DIM-1 (Nether) or DIM1 (The End). Also, if you are checking a singleplayer world, remember that pets currently riding on a player's shoulder (parrots) are stored inside level.dat under ShoulderEntityLeft or ShoulderEntityRight rather than in the entities region files.

How do I know which r.X.Z.mca file to search first if I have hundreds of them?

Each region coordinate equals the block coordinate divided by 512 (rounded down). For example, if your base is around X = 800, Z = -300, divide 800 by 512 (1) and -300 by 512 (-1) to start your search in r.1.-1.mca.

Does this method work for tamed horses, donkeys, or llamas?

Yes! Riding mounts also store their tamed owner inside the exact same Owner IntArray tag, alongside a Tame: 1b byte tag.

By inspecting the entities/.mca files in our browser-based NBT Editor, you can read the Pos coordinates of any lost wolf, cat, or parrot and overwrite its Owner IntArray tag with your current player UUID to reclaim your pet.

More player data & inventories guides

Player data & inventoriesHow to View and Edit a Player's Inventory and Ender Chest in playerdata/<uuid>.datEvery player in a Minecraft Java Edition world has their personal inventory, armor, and Ender Chest contents stored inside a specific data file tied to their unique account ID. Using our browser-based NBT Editor, you can easily inspect, modify, or delete items directly from these files without ever uploading your world to an external server. This guide will walk you through locating a player's data file and safely editing their items.JavaIntermediate5 steps
Player data & inventoriesHow to Clear Deadly Potion Effects, Fire, and Reset Health in Player NBTLogging out a split second before dying from lava, poison, or starvation creates a frustrating death loop where you perish the instant you rejoin your world. Because Minecraft saves your exact physical state and status timers upon disconnection, you can rescue your character before logging back in by modifying these saved values. Using our browser-based NBT Editor, you can safely reset your health, extinguish flames, and wipe deadly potion effects directly inside your local world files without uploading anything to a server.Java & BedrockBeginner6 steps
Player data & inventoriesWhy Singleplayer Edits Get Overwritten: level.dat Player Tag vs playerdata FolderHave you ever edited your inventory, health, or coordinates inside the playerdata folder, only to load your singleplayer world and find all your changes completely reverted? This frustrating issue happens because Minecraft Java Edition stores singleplayer host data in two different places and prioritizes one over the other. This guide explains the exact loading logic behind this behavior and shows you how to make singleplayer edits that actually stick using our browser-based tools.JavaIntermediate5 steps
Player data & inventoriesHow to Teleport an Offline or Stuck Player by Editing Their Pos and Dimension NBTGetting trapped in a corrupted chunk, falling into the void, or being caught in an infinite portal trap can lock a player out of a Minecraft world. Because the game cannot load the area safely, you cannot simply use in-game commands to teleport them away. This guide shows you how to rescue a stuck or offline player by directly editing their coordinate and dimension data using the browser-based NBT Editor on world.9minecraft.net, where your files are processed locally and never uploaded.Java & BedrockBeginner5 steps
Player data & inventoriesHow to Transfer Inventory, XP, Advancements, and Stats to a New Minecraft AccountSwitching to a new Minecraft account or moving a server between online and offline modes often results in losing your inventory, experience, and achievements. This happens because Minecraft ties your progress to a unique identifier rather than your username. By renaming a few key world files and editing a couple of tags in our browser-based NBT Editor, you can seamlessly transfer all your data, statistics, and even tamed pets to your new account.JavaIntermediate4 steps