Players are unable to manually place frogspawn on flowing water so having frogs being able to lay spawn here seems illogical. Additionally, when the frogspawn receives a block update, it is instantly destroyed.
- Build the setup as shown in the attachment below. setup.png
- Summon two frogs nearby and breed them.
- Wait for the pregnant frog to approach the water and lay its spawn.
- Take note as to whether or not frogs can lay spawn on flowing water.
Frogs can lay spawn on flowing water.
Frogs would not be able to lay spawn on flowing water.
Code analysis by ampolive can be found below.
The following is based on a decompiled version of Minecraft 22w15a using Mojang mappings.
In FrogAi#initLaySpawnActivity(...), a new TryLaySpawnOnWaterNearLand behavior is created for the frog. In the code:
The behavior checks if the block adjacent to the block the frog is standing on is water, and if there is air on top of it. Because flowing water is considered a water block, frogs are able to lay their spawn here.