Перейти к содержимому
Mineforgian

Proper Pet Teleportation

No longer shall you lose your pets! Fixes dog/pet teleportation

Загрузки
11K
Подписчики
47
Обновлён
27 июня 2026 г.
Лицензия
LGPL-3.0-or-later

Опубликован 13 октября 2024 г.

A big body of water with a dog on one side, and a Minecraft character on the other. An arrow indicates the dog can still follow the character

Proper Pet TP

Have you ever been exploring, and found a cool dog, cat or parrot? Have you ever continued exploring only to find that pet not following you anymore? This mod fixes that! In vanilla, pets stop following you if they're outside of simulation/render distance. This mod ensures they follow you around either way. You can't accidentally lose your pet anymore!

What if my dog's sitting?

This mod won't change that. If your pet wouldn't normally teleport, due to being leashed or sitting, it still won't!

How?

Pets commonly get lost if they don't have any safe spot to teleport to. This mod temporarily attaches the pet to your player data until you land in a safe spot. This is a simple way to ensure that the pet can always keep following you. For the pet-owner, it'll look as if the pet just smoothly teleported thousands of blocks.

In addition to minecraft's own checks for when a pet is too far away, this mod also ensures that pets have a chance to teleport when chunks get suddenly unloaded. This handles cases where the player suddenly teleports (through commands or enderpearls), or when the player dies.

What about cross-dimensional teleports?

PPeTP retains the vanilla behaviour of not teleporting across dimensions. If you take a long nether trip, this mod will still allow your pet to teleport to you, but only once you're back in the overworld. You can change this behaviour using /gamerule petTeleportCrossDimension. When set to true, your pet will teleport to you even if it's in another dimension. If it's false, pets will only switch dimensions if they themselves touch a portal (like in vanilla). The vanilla behaviour may be confusing if a pet accidentally walks through a portal.

Does this work with modded pets?

Yeah, if they reuse Minecraft's code for tameable entities, it should be fine!

Does this load chunks?

No, it specifically doesn't load chunks. See the "how" section for details.

Центр версий

8 версий
  • Релиз39 КБ
  • Релиз38 КБ
  • Релиз38 КБ
  • Релиз37 КБ
  • Релиз34 КБ
  • Релиз33 КБ
  • Релиз30 КБ
  • Релиз29 КБ

Ченджлог

1.2.5Релиз26.2 · 27 июня 2026 г.
  • Port to 26.2
1.2.4Релиз26.1, 26.1.1, 26.1.2 · 18 мая 2026 г.
  • Port to 26.1/26.1.1/26.1.2
1.2.3Релиз1.21.11 · 19 февраля 2026 г.
  • Fixes critical issue where nautili are erroneously teleported (#5)
1.2.2Релиз1.21.11 · 18 января 2026 г.
  • Update to 1.21.11
1.2.1Релиз1.21.1 · 4 декабря 2024 г.
  • Fixes an npe with pets without owners (#2)
  • Fixes a potential npe in weird situations
  • Adds defensive try-catch blocks to make the mod behave well in miscellaneous cases
1.2.0Релиз1.21.1 · 19 ноября 2024 г.
  • Fixes a left-over debug statement
  • Formalizes behaviour for pets teleporting across dimensions
    • By default, PPeTP will use the vanilla behaviour of not teleporting pets across dimensions. Pets will still be prevented from being lost, but won't teleport until you're back in the dimension the pet originates from
    • You can change this behaviour using the petTeleportCrossDimension game rule
1.1.0Релиз1.21.1 · 21 октября 2024 г.

Adds support for DFU. This means that if Mojang decides to change what entities look like in a future version, your pets will be properly updated as well.

1.0.0Релиз1.21.1 · 13 октября 2024 г.

Initial release

Комментарии

Загружаем…