mojira.dev
MCPE-70664

Baby Sea Turtles despawning

Workaround from [~GoldenHelmet]

I have created a behavior pack that gives turtles persistence when they hatch from sea turtle eggs:

[media]

Note that using this pack will disable achievements in your world.

Baby Sea Turtles are despawning when I travel more than 24 blocks away.

Specific situation:

  1. bred sea turtles at far away beach and harvested eggs

  2. brought eggs back to base to build a farm - made sure entire farm is inside a chunk before I started build

  3. placed hopper minecart (with one hopper underneath track to move items to chest) on a 5x5 track with sand above track

  4. built a 2 high glass wall with fence on top of glass around 5x5 area - only way to get in or out of this area is to break fence and a glass block

  5. placed eggs on sand - AFK'd during the night a few nights to get eggs to hatch

  6. eggs hatched overnight - took a moment to kill hostile mobs, collect drops and experience.

  7. returned immediately to turtle farm - baby turtles are gone

  8. tried again - fed baby turtles sea grass to turn them into adults before I went to collect drops and experience from hostile mobs.  Adult turtles are still there when I return and scutes were collected, but still need more

  9. tried again - did not feed baby turtles before I left to collect drops to see if problem happened again.  Same issue, baby turtles despawned.

TL:DR - if you feed baby turtles sea grass to grow them into adults the adults won't despawn but the babies will when you walk more than 24 blocks away.

Related issues

BDS-11369 Baby Turtles Despawn After Certain Distance Away From Them BDS-11820 turtles MCL-14987 Turtles eggs MCPE-76045 Baby turtles despawn MCPE-77929 Baby Turtles Despawn MCPE-83805 Turtles despawn even in enclosed areas. MCPE-85803 Baby Turtles Despawn When Hatched From Player Placed Eggs MCPE-86980 Turtles despawning MCPE-93285 Baby turtle despawning MCPE-94279 Turtle Eggs Disappear MCPE-100241 baby sea turtles despawn way to fast MCPE-100820 Baby turtles disappear MCPE-101962 Baby turtles hatch and then disappear when you are not near them MCPE-104821 Hatched turtles despawn MCPE-109945 Turtles don't appear when eggs hatch MCPE-110063 Turtles despawn MCPE-111476 Turtles hatched from eggs despawn MCPE-117111 Turtle hatchlings despawn MCPE-119902 Hatched Baby Turtles Despawn MCPE-123849 Baby turtles despawn right when you walk away. MCPE-130737 Baby turtles despawn MCPE-134210 axolotls and turtles disappearing through solid blocks

Attachments

Comments

migrated
[media][media][media]
migrated
[media][media][media]
GoldenHelmet

Dave,
Thank you for your report and the details you’ve collected!

The 1.16.0.51 beta included changes to despawning that may be having an unintended adverse impact on sea turtle babies.

  • The changelog states that fish now despawn instantly at 40 blocks from the player. It may be that this was coded as a rule for all aquatic mobs.

  • Other changes may have been made to despawning rules that are not detailed precisely in the changelog, such as changes to persistence rules. Previously a mob spawned as a result of breeding would have persistence, but this may no longer be the case.

Both of these possibilities should be carefully tested. I am not in the beta program so I cannot test them at this time.

GoldenHelmet

Dave,
Thank you for your report and the details you’ve collected!

The 1.16.0.51 beta included changes to despawning that may be having an unintended adverse impact on sea turtle babies.

  • The changelog states that fish now despawn instantly at 40 blocks from the player. It may be that this was coded as a rule for all aquatic mobs.

  • Other changes may have been made to despawning rules that are not detailed precisely in the changelog, such as changes to persistence rules. Previously a mob spawned as a result of breeding would have persistence, but this may no longer be the case.

Both of these possibilities should be carefully tested. I am not in the beta program so I cannot test them at this time.

migrated

Named fish despawn too.

migrated

Named fish despawn too.

[Mojang] Mega_Spud (Jay)

@unknown - That sounds like a separate issue, could you please log it as a new bug if it hasn't been reported already? https://aka.ms/BedrockBug 

[Mojang] Mega_Spud (Jay)

@unknown - That sounds like a separate issue, could you please log it as a new bug if it hasn't been reported already? https://aka.ms/BedrockBug 

migrated

Okay, fish fine. But I can definitely confirm disappearing baby turtles on Android.

migrated

Okay, fish fine. But I can definitely confirm disappearing baby turtles on Android.

migrated

Affects 1.14.60

migrated

Affects 1.14.60

migrated

Baby turtle from hatched egg and baby turtle grow into an adult will be despawned if I have not interact with it, and move away and come back.
It seems not have persistence applied to them.

migrated

Baby turtle from hatched egg and baby turtle grow into an adult will be despawned if I have not interact with it, and move away and come back.
It seems not have persistence applied to them.

migrated

This bug affects version 1.16.0.63

migrated

This bug affects version 1.16.0.63

GoldenHelmet

Confirmed using an NBT viewer that even in 1.14.60 baby sea turtles hatched from eggs do not have persistence. So, they are subject to random despawning even in the current release. This is obviously much worse in 1.16 betas with the new instant despawn radius. This is unlike any other animal baby that spawns as a result of the player breeding two adult animals.

GoldenHelmet

Confirmed using an NBT viewer that even in 1.14.60 baby sea turtles hatched from eggs do not have persistence. So, they are subject to random despawning even in the current release. This is obviously much worse in 1.16 betas with the new instant despawn radius. This is unlike any other animal baby that spawns as a result of the player breeding two adult animals.

GoldenHelmet

I also want to add that this bug is particularly insidious with the instant despawning system coming in 1.16 because it will be possible for sea turtle eggs to be within simulation distance but beyond the instant despawn radius (or in instant despawn chunks), with the result that the baby sea turtles despawn the instant that they hatch. On top of that, because sea turtle eggs take so long to hatch and cannot be sped up, I expect many players will go do something else nearby while waiting for them, and then come back to find that the eggs have seemingly vanished.

GoldenHelmet

I also want to add that this bug is particularly insidious with the instant despawning system coming in 1.16 because it will be possible for sea turtle eggs to be within simulation distance but beyond the instant despawn radius (or in instant despawn chunks), with the result that the baby sea turtles despawn the instant that they hatch. On top of that, because sea turtle eggs take so long to hatch and cannot be sped up, I expect many players will go do something else nearby while waiting for them, and then come back to find that the eggs have seemingly vanished.

GoldenHelmet

Just to be sure, after updating to 1.16 I tested the assertion I made above about baby sea turtles instantly despawning when they hatch in simulation-edge chunks (or beyond r44 in simulation distance 4) in 1.16. They do.

I was actually able to use this bug to make maps of the viable mob areas. This allows you to see the instant despawn radius on sim4 and the instant despawn chunks on sim6. In the pictures below, sim4 is marked with red glass and sim6 is marked with blue glass. The entire sand area was covered with turtle eggs. They hatched within simulation distance, and the black areas are blocks where baby turtles were found by a repeating command that ran once every 20 ticks.*
Sim4:

[media]

Sim6:

[media]

* You can see a few black blocks in the instant despawn areas, and those are apparently due to the order in which spawning, command blocks, and despawning are processed during a tick. Given the test design, the density of black blocks in instant despawn zones should be 1/20 the density of black blocks in the viable mob areas.

GoldenHelmet

Just to be sure, after updating to 1.16 I tested the assertion I made above about baby sea turtles instantly despawning when they hatch in simulation-edge chunks (or beyond r44 in simulation distance 4) in 1.16. They do.

I was actually able to use this bug to make maps of the viable mob areas. This allows you to see the instant despawn radius on sim4 and the instant despawn chunks on sim6. In the pictures below, sim4 is marked with red glass and sim6 is marked with blue glass. The entire sand area was covered with turtle eggs. They hatched within simulation distance, and the black areas are blocks where baby turtles were found by a repeating command that ran once every 20 ticks.*
Sim4:

[media]

Sim6:

[media]

* You can see a few black blocks in the instant despawn areas, and those are apparently due to the order in which spawning, command blocks, and despawning are processed during a tick. Given the test design, the density of black blocks in instant despawn zones should be 1/20 the density of black blocks in the viable mob areas.

migrated

I experienced this bug as well.  Was shocked that turtles hatched from eggs placed by players did not have persistence

migrated

I experienced this bug as well.  Was shocked that turtles hatched from eggs placed by players did not have persistence

pulpetti

In 1.16.10

Desert Prince

Not sure if this behavior works, but I suggest the devs consider adding it. Allow named turtle eggs (via Anvil) to propagate that name when the baby turtles hatch so that they do not despawn. Otherwise, any bred animal already should not be despawning on their own.

Still an issue with 1.16.2 hotfix on Android OS 10 on LG V60.

migrated

I have also experienced this problem and came here to report it. Playing on Nintendo switch. I have the turtles in an enclosure with an automatic collection system for the scutes. The system is pretty much pointless at the moment because as soon as I leave the enclosure any turtles not nametagged (adults and babies) will instantly despawn. Once I only went into the adjacent building to stamp a nametag and the adult and baby turtle were gone when I reentered the enclosure.

migrated

I have also experienced this problem and came here to report it. Playing on Nintendo switch. I have the turtles in an enclosure with an automatic collection system for the scutes. The system is pretty much pointless at the moment because as soon as I leave the enclosure any turtles not nametagged (adults and babies) will instantly despawn. Once I only went into the adjacent building to stamp a nametag and the adult and baby turtle were gone when I reentered the enclosure.

migrated

Confirmed in 1.16.100.55.

migrated

Confirmed in 1.16.100.55.

migrated

Affects 1.16.200.55 Beta.

migrated

Affects 1.16.200.55 Beta.

migrated

In 1.16.40

migrated

In 1.16.40

migrated

Agreed. Happens in 1.16.40

migrated

Agreed. Happens in 1.16.40

ravinmaddhatter

This was unexpected behavior for me as every other passive mob offspring is persistent and does not despawn at R44.

AlexanderJ.

The breeding of turtles does not work in version 1.16.100 either!

The only exception: you stand in the animal enclosure and wait until the babies hatch in order to immediately name them ... but that's no fun -; (

AlexanderJ.

"Breeding turtles with seaweed ..." ... The first thing I read after the update!

I try it. And ...?:

The Bug is still present in 1.16.200. The Breeding of turtles is dead!

To be honest: I feel litle ripped off.

migrated

Yes this happens in 1.16.201 on PS4. Also baby turtles do not path find to water source.

migrated

Yes this happens in 1.16.201 on PS4. Also baby turtles do not path find to water source.

GoldenHelmet

I fixed this bug with a behavior pack by editing entities\turtle.json as follows

  1. Created a new component group, "hatched" that contains the "minecraft:persistent" component.

  2. Inserted a line in the "minecraft:entity_born" event that adds the "hatched" component group.

See

[media]
GoldenHelmet

I fixed this bug with a behavior pack by editing entities\turtle.json as follows

  1. Created a new component group, "hatched" that contains the "minecraft:persistent" component.

  2. Inserted a line in the "minecraft:entity_born" event that adds the "hatched" component group.

See

[media]
migrated

I do not know what to say at this point, this bug still exists almost one year after its discovery.

Just noticed this issue today.

migrated

I do not know what to say at this point, this bug still exists almost one year after its discovery.

Just noticed this issue today.

migrated

Present in 1.16.210.  I harvest the eggs and when I want some turtles, I plant them and just hang out, feeding the babies to adulthood with seagrass.  Walk away or do anything else and they're gone.  Adults persist. 

migrated

Present in 1.16.210.  I harvest the eggs and when I want some turtles, I plant them and just hang out, feeding the babies to adulthood with seagrass.  Walk away or do anything else and they're gone.  Adults persist. 

migrated

Also in 1.16.220.02 I encountered this bug over and over again.
So please fix this bug soon which has been around for a year
Thanks

migrated

Also in 1.16.220.02 I encountered this bug over and over again.
So please fix this bug soon which has been around for a year
Thanks

AlexanderJ.

seems to be fixed.

migrated

(Unassigned)

347209

Confirmed

Multiple

Windows

baby-turtle, despawning

1.16.220, 1.16.200.53 Beta, 1.16.100.58 Beta, 1.16.0.67 Beta, 1.16.0.63 Beta, ..., 1.16.200, 1.16.201 Hotfix, 1.16.210, 1.17.0, 1.17.2 Hotfix

1.17.10, 1.17.10.21 Beta

Retrieved