Sitting child pets teleporting to owner when growing up
The bug
Sitting child pets can teleport to their owner when they grow up but immediately appear sitting again afterwards.
How to reproduce
- Spawn one wolf and tame it
- Hold right click on the wolf while holding a wolf spawn egg to spawn baby wolves
- Make all wolves sit
/entitydata @e[type=wolf] {Sitting:1b} - Move away from the wolves
- Change their age so they will grow up rather fast
/entitydata @e[type=wolf] {Age:-100}→ Some wolves teleported to you
Code analysis
Based on 1.12 decompiled using MCP 9.40 PRE 1
It looks like the method net.minecraft.entity.Entity.setSize(float, float) is indirectly causing this since it is calling the method net.minecraft.entity.Entity.moveEntity(MoverType, double, double, double) without a downwards motion. This causes the onGround field to be set to false which then causes the EntityAISit task to be reset.
Calling that method with the default gravity downwards motion (if the entity has gravity enabled) might result in unexpected behavior. Instead the onGround value could be restored or only motion values could be set, but this could result in different behavior as well.
Linked Issues
is duplicated by25
- Awaiting Response
Keenan Lee
- 45
- 23
- Confirmed
- Mob behaviour
- baby cat dog ocelot pet sitting teleport wolf
1.6.2 - 1.14
1.6.2 1.6.4 1.7.1 1.7.2 1.7.4 1.7.10 1.8 1.8.1 1.8.4 1.8.8 1.10 1.10.2 1.11.2 17w17b 17w18a 17w18b 1.12 1.12.1 1.12.2-pre1 1.12.2-pre2 1.12.2 17w43a 17w43b 17w45a 17w48a 17w50a 18w01a 18w03b 18w05a 18w09a 18w14b 18w22c 1.13-pre1 1.13-pre3 1.13-pre6 1.13-pre10 1.13 18w30b 18w31a 1.13.1 1.13.2 1.14-pre5 1.14
Created Issue:
Baby pets teleporting
**This is running a Hardcore SSP World. Cheats are disabled, the launcher/game is entirely vanilla, and this is local singeplayer, NOT on a server. Absolutely no mods, cheats/commands, or plugins are involved.**
I think this is different enough fromMC-696, with the same effect but a different cause, that it warrants a separate ticket. Correct me if I'm wrong.On two separate occasions, while minding my own business and going about my block-based business, I suddenly turned around and saw my tamed cat/dogs sitting next to me.
However, I have 6 dogs, and only two teleported; likewise, I have 3 cats, and only one teleported to me.
Since I was in the midst of breeding the pets I had, I believe that the moment the baby pets grew up into adults, they teleported to me.What I expected to happen:
Cats and dogs would not teleport to me when I left them sitting down at home.What actually happened was:
Cats and dogs teleported to me (upon growing up from babies) even when I left them sitting down at home.Steps to reproduce:
1. Find and tame two cats and/or dogs.
2. Breed them to create one additional baby cat and/or dog.
3. Make them all sit.
4. Walk away; distance shouldn't matter as long as the chunk is not actually unloaded.
5. Wait the requisite 20 minutes for the baby pet to grow up. The moment it does, it teleports to you, in spite of the fact that it's sitting through the entire process (before/after/during the teleportation.)If anything must be clarified, or proof like Screenshots or a screenshot of a (forced; to my knowledge, this bug does not cause a crash) crash menu, let me know, and I'll do my best to provide details where needed.
Environment
Java 64, Mac OSX 10.6.8 Snow Leopard
- Unresolved
- Open
- Unconfirmed
- Survival
- baby cat dog kitten pet puppy sitting teleporting
- 1.6.2
Babypets teleportingSitting pets teleporting to owner when growing up
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
relates to
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
Java 64, Mac OSX 10.6.8 Snow Leopard
Sitting child pets teleporting to owner when growing up
**This is running a Hardcore SSP World. Cheats are disabled, the launcher/game is entirely vanilla, and this is local singeplayer, NOT on a server. Absolutely no mods, cheats/commands, or plugins are involved.**
I think this is different enough fromMC-696, with the same effect but a different cause, that it warrants a separate ticket. Correct me if I'm wrong.On two separate occasions, while minding my own business and going about my block-based business, I suddenly turned around and saw my tamed cat/dogs sitting next to me.
However, I have 6 dogs, and only two teleported; likewise, I have 3 cats, and only one teleported to me.
Since I was in the midst of breeding the pets I had, I believe that the moment the baby pets grew up into adults, they teleported to me.What I expected to happen:
Cats and dogs would not teleport to me when I left them sitting down at home.What actually happened was:
Cats and dogs teleported to me (upon growing up from babies) even when I left them sitting down at home.Steps to reproduce:
1. Find and tame two cats and/or dogs.
2. Breed them to create one additional baby cat and/or dog.3. Make them all sit.4. Walk away; distance shouldn't matter as long as the chunk is not actually unloaded.
5. Wait the requisite 20 minutes for the baby pet to grow up. The moment it does, it teleports to you, in spite of the fact that it's sitting through the entire process (before/after/during the teleportation.)If anything must be clarified, or proof like Screenshots or a screenshot of a (forced; to my knowledge, this bug does not cause a crash) crash menu, let me know, and I'll do my best to provide details where needed.
The bug
Sitting child pets can teleport to their owner when they grow up but immediately appear sitting again afterwards.
How to reproduce
- Spawn one wolf and tame it
- Hold right click on the wolf while holding a wolf spawn egg to spawn baby wolves
- Make all wolves sit
- Move away from the wolves
- Change their age so they will grow up rather fast
/entitydata @e[type=wolf] {Age:-100}→ Some wolves teleported to you
Code analysis
Based on 1.12 decompiled using MCP 9.40 PRE 1
It looks like the method net.minecraft.entity.Entity.setSize(float, float) is indirectly causing this since it is calling the method net.minecraft.entity.Entity.moveEntity(MoverType, double, double, double) without a downwards motion. This causes the onGround field to be set to false which then causes the EntityAISit task to be reset.
Calling that method with the default gravity downwards motion (if the entity has gravity enabled) might result in unexpected behavior. Instead the onGround value could be restored or only motion values could be set, but this could result in different behavior as well.
The bug
Sitting child pets can teleport to their owner when they grow up but immediately appear sitting again afterwards.
How to reproduce
- Spawn one wolf and tame it
- Hold right click on the wolf while holding a wolf spawn egg to spawn baby wolves
- Make all wolves sit
- Move away from the wolves
- Change their age so they will grow up rather fast
/entitydata @e[type=wolf] {Age:-100}→ Some wolves teleported to you
Code analysis
Based on 1.12 decompiled using MCP 9.40 PRE 1
It looks like the method net.minecraft.entity.Entity.setSize(float, float) is indirectly causing this since it is calling the method net.minecraft.entity.Entity.moveEntity(MoverType, double, double, double) without a downwards motion. This causes the onGround field to be set to false which then causes the EntityAISit task to be reset.
Calling that method with the default gravity downwards motion (if the entity has gravity enabled) might result in unexpected behavior. Instead the onGround value could be restored or only motion values could be set, but this could result in different behavior as well.
The bug
Sitting child pets can teleport to their owner when they grow up but immediately appear sitting again afterwards.
How to reproduce
- Spawn one wolf and tame it
- Hold right click on the wolf while holding a wolf spawn egg to spawn baby wolves
- Make all wolves sit
/entitydata @e[type=wolf] {Sitting:1b}- Move away from the wolves
- Change their age so they will grow up rather fast
/entitydata @e[type=wolf] {Age:-100}→ Some wolves teleported to you
Code analysis
Based on 1.12 decompiled using MCP 9.40 PRE 1
It looks like the method net.minecraft.entity.Entity.setSize(float, float) is indirectly causing this since it is calling the method net.minecraft.entity.Entity.moveEntity(MoverType, double, double, double) without a downwards motion. This causes the onGround field to be set to false which then causes the EntityAISit task to be reset.
Calling that method with the default gravity downwards motion (if the entity has gravity enabled) might result in unexpected behavior. Instead the onGround value could be restored or only motion values could be set, but this could result in different behavior as well.
is duplicated by
is duplicated by
is duplicated by
relates to
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
Duplicate of MC-28440, please use the search function to see if your bug has already been submitted. Currently over 57% of tickets are being resolved as duplicate.
Dupe of MC-28440
Duplicate of MC-28440, if you have not, please use the search function in the future to see if your issue has already been reported.
this may be a duplicate of MC-28440
Thank you for your report!
However, this issue has been closed as a Duplicate of MC-28440.
It has been linked to this report. If you have additional information, please add it to the duplicated report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Thank you for your report!
However, this issue is a Duplicate of MC-28440.
It has been linked to this report. If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
No, neither MC-696 nor MC-28440 describe the issue. (MC-696 does happen, but this is separate from that, and has nothing to do with hostile mobs). I have like 30 cats, all sitting in a pen outside my house, and several times I have gone back in my house (with no hostile mobs in the area) and one or more of the sitting cats teleports to me. It's very annoying, especially since this issue is co-occuring with MC-124740
Thank you for your report!
However, this issue is a Duplicate of MC-28440.
If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Duplicate of MC-28440
Duplicate of MC-28440
Does MC-28440 describe your issue?
Duplicate of MC-28440
Appears to be confirmed by GenerikB's latest video.
Confirmed.
This isn't a bug, it's Cat Fancy Home Delivery Service! Duh! XD
This affects me on 1.7.2.
Confirming this for 1.7.4. I was branch mining and suddenly one of my dogs was in the mine.
Does putting baby pets in minecarts prevent them from teleporting to us ?
@Koala_eiO http://minecraft.gamepedia.com/Wolf#Teleportation
This was already reported in an older issue about tamed cats.
If you're referring to
MC-13745, then that's a different bug.This happened to me in bug
MC-61504.Is this still a concern in the current Minecraft version 1.8.1 Prerelease 3 / Launcher version 1.5.3 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
Still in 1.8 (
MC-76175)I can confirm in 1.8.8. A cat teleported to me suddenly. I had bred a couple a few minutes before.
I can confirm for 1.10.
Still happening in 1.10.2.
Confirming for 1.10.2.
Still seems to be present in 1.11.2.
The parents of my other cat teleported to me, and the baby was already grown (but I haven't had any of them stand since the little one's infancy).
I was fighting just outside my home, and then 2 of my 3 cats teleported to me. One died in the cactus next to me. >
((
-1.11.2
Confirmed in 18w05a.
@Niknokinater, That issue is
MC-696, which involves pets teleporting when the player is attacked within a certain range.Recently started a Survival game in Minecraft Java 1.12.2 Vanilla
Summoned two wolves (cheats activated via game opening to LAN), which I tamed and bred, creating a young pup. All were told to sit down, so as not to disturb me in my farms.
While working my farms, circa 20 levels down from the dogs, suddenly one of the dogs appeared sitting next to me. As there are still two dogs in the original location, my guess is that the young pup, upon reaching adulthood, teleported to me while still being commanded to sit down.
As the expected behaviour is that the pup, on reaching adulthood, will continue to be at the original location if told to sit down, this would count as a bug.
This can be useful if you have a large pack of tamed wolves and you breed all of them a certain period of time before entering a dangerous area. Once they mature, they will all be down in the caves with you. But, I'd rather just have this fixed.
This is still present in 1.13.2
Can't reproduce in 1.15 pre-1, is this still an issue?