Summary:
I was testing the stealth system in Bedrock and Java Edition, when I noticed that the invisible stealth is not the same in both editions.
Steps to Reproduce:
1. Launch Minecraft Bedrock Edition in Creative Gamemode
2. Become invisible with a potion
3. Spawn hostile mobs
4. Go to Survival Gamemode
5. Bump into the mobs
Observed Results:
Unlike Java Edition, when you are invisible and approach a mob, you will notice its presence but not attack, as if it has become peaceful. In Java Edition, even invisible, when the player approaches a mob, it will automatically see and target the player
Expected Results:
The Java and Bedrock stealth should be the same
Notes:
The only hostile mob that attacks when bumped is the zombie, but unlike the Java Edition, you have to be very close, and it still doesn't target you.
Affects 1.20.10 hotfix
when you get close, the mod will attack you, but after walking away from it a few blocks, it will forget your presence and won't chase you