mojira.dev
MC-251528

Parity Issue: Frogs constantly try to leave the water in Java instead of staying like Bedrock

The Bug:

In Java edition, as soon as frogs enter the water they try to leave it, making a beeline for the nearest land. They can even get into a loop of constantly leaving the water and entering it.

This is inconsistent from Bedrock, where frogs will usually stay in water for a while, swimming around a bit and staying still only leaving after they've been in the water for a while; much more accurate to actual frog behavior. Only SOME frogs seem to want to instantly leave the water.

How to Reproduce:

  1. Spawn some frogs in water in Java edition; all of them will instantly try to get to land 

  2. Spawn some frogs in Bedrock edition. Observe how although some will try to leave, plenty of them stay in the water for a while

-------------------------------------

The videos below demonstrate this behavior, showcasing the difference between frog ai in the two versions

Linked issues

Attachments

Comments 10

Confirmed with 23w12a
I think you should add the labels "vanilla-parity" because it differs between JE and BE.

Confirmed 25w02a

Orbic

(Unassigned)

Confirmed

Gameplay

Normal

Mob behaviour, Parity

ai, frog

22w18a, 22w19a, 1.19 Pre-release 1, 1.19 Pre-release 2, 1.19 Pre-release 3, ..., 23w44a, 24w45a, 25w02a, 1.21.5, 1.21.6 Pre-Release 3

Retrieved