Tamed wolves follow you if you attack yourself
Created Issue:
Tamed wolves follow you if you attack yourself
1. Have a bow and arrows
2. Have tamed wolves
3. Make the wolves sit
4. Put the bow in off-hand
5. Run and try to shot the arrow in yourself
6. Wolves follow you and stop (trying to attack but they can't attack the owner)Environment
Linux version 4.8.4-1-ARCH
OpenJDK version "1.8.0_112"
OpenJDK Runtime Environment (build 1.8.0_112-b15)
OpenJDK 64-Bit Server VM (build 25.112-b15, mixed mode)
1. Have a bow and arrows
2. Have tamed wolves
3. Makethewolves sit
4. Put the bow in off-hand
5. Run and try to shot the arrow in yourself
6. Wolves follow you and stop (trying to attack but they can't attack the owner)
1. Have a bow and arrows
2. Have tamed wolves
3. Make wolves sit
4. Put the bow in off-hand
5. Run and try to shot the arrow in yourself
6. Wolves follow you and stop (trying to attack but they can't attack the owner)
- Have a bow and arrows
- Have tamed wolves
- Make wolves sit
- Put the bow in off-hand
- Run and try to shot the arrow in yourself
- Wolves follow you and stop (trying to attack but they can't attack the owner)
Linux version 4.8.4-1-ARCH
OpenJDK version "1.8.0_112"
OpenJDK Runtime Environment (build 1.8.0_112-b15)
OpenJDK 64-Bit Server VM (build 25.112-b15, mixed mode)
I feel like this may be intended, since they are supposed to react when you get attacked.
Kind of confirmed in 1.13.1. Wolves do follow you, yes. Their eyes don't turn red, though, and they sit back down at the location you attacked yourself whether you're still there or not. I feel like this may have been intended as it would make sense for wolves to scope out the location of their owner's hurting to see if the danger still exists and, if possible, eliminate said danger.
Unable to reproduce 20w17a
This was likely fixed as part of the various fixes for wolves some time back. I will resolve as cannot reproduce for now, but leave a comment if the issue resurfaces.