mojira.dev
MCPE-186650

Turtles unable to lay eggs on red sand

Expected behavior:  Turtles should be able to lay eggs on sand or red sand.

Observed behavior:  Egg-laying turtles no longer seek red sand to lay eggs.

While this was first observed in 1.21.23, this is likely a direct result of sand ["sand_type"="red"] being flattened into red_sand in 1.21.20.  Eggs can be placed on a red_sand block and will hatch but turtle AI is unable to recognize the block.  Additionally, testing on Java 1.21.1 indicates that a turtle will seek its home if it's red sand and will lay eggs on red sand, so that seems to be the correct behavior.

Steps to reproduce:

  1. Create a reasonably large fenced in area (I used 17x17 for testing) and replace the entire floor with red sand.

  2. Place at least two turtle eggs on a red sand block around the center of the area.

  3. Wait for the eggs to hatch.

  4. Allow turtles to grow to adult, which can be accelerated with sea grass.

  5. Feed two adult turtles and they will mate.

  6. Neither turtle will return to the red sand to lay a clutch of eggs.

Breaking the red sand near where the eggs hatched and replacing it with sand will get the turtle's attention and it will recognize its home, go there, perform its digging animation, and lay its clutch of eggs in the usual way.

A testing world with a turtle enclosure and command blocks for doing some relevant functions is included.

Attachments

Comments 2

Can confirm, affects 1.21.40.21.

Estragon

(Unassigned)

1341331

Community Consensus

Multiple

1.21.40.21 Preview, 1.21.23 Hotfix, 1.21.30

Retrieved