Entity targeted by frogs and axolotls can't be detected by /execute on target
Summary:
Frogs and axolotls don't target the entity they want to attack.
Steps to reproduce:
frog:
- Get a spawn egg using:
/give @p slime_spawn_egg{EntityTag:{Size:0}} 1 /setblock ~ ~-1 ~ repeating_command_block{auto:1b,Command:"/execute as @e[type=minecraft:frog] on target run say hi"}- Spawn a frog.
- Spawn the small slime.
axolotl:
/setblock ~ ~-1 ~ repeating_command_block{auto:1b,Command:"/execute as @e[type=minecraft:axolotl] on target run say hi"}- Spawn an axolotl.
- Spawn a drowned/tropical fish.
Observed results:
The message "Hi" does not appear in the chat.
Expected results:
Frogs and axolotls will target an entities and the message "Hi" will appear in the chat.
2023-07-28, 02:16 PM
2024-04-19, 07:05 PM
2024-04-09, 07:58 AM
4
2