-
Bug
-
Resolution: Invalid
-
None
-
1.20.4
-
None
-
Unconfirmed
-
(Unassigned)
When you attack a Ravager, any other ravagers nearby will be alerted to the attacker and will aggro on them. I have noticed some odd behavior.
- Ravagers will alert ravagers, even if the two ravagers are on different Scoreboard teams. (They will not alert ravagers to enemies that are on the same team as the ravager being alerted, however). For example, if Ravager red is on team Red, Ravager Blue is on team Blue. Player is on neither team. If the player punches either ravager, the other will be alerted. I believe a ravager should only alert other ravagers of the same scoreboard team.
- Alerted Ravagers will remain aggro on the player seemingly indefinitely, and at any range, regardless of line of sight.
- Once a Ravager has been alerted to a player and is aggro on them, they will remain aggro even if you change the scoreboard team to be the same as the player. They can hit the player on the same scoreboard team in this way. Normally, if a ravager is aggro on the player and you change their scoreboard team to be the same, they will stop being aggro.
Steps to recreate issue #1: Ravagers alert other ravagers on different teams.
Shown here: https://www.youtube.com/watch?v=VZm-apXUOzY
- Create two boxes with solid walls so the ravagers do not have line of sight.
- Spawn a ravager in each using a ravager spawn egg. Give them the Glowing effect.
- /effect give @e[type=minecraft:ravager] minecraft:glowing infinite 0 true
- Create two scoreboard teams and add one ravager to each team.
- /team add Blue
- /team add Red
- /team modify Blue color blue
- /team modify Red color dark_red
- /execute as @e[type=minecraft:ravager,limit=1,team=] run team join Blue @s
- /execute as @e[type=minecraft:ravager,limit=1,team=] run team join Red @s
- Make a hole in one of the boxes and punch one of the ravagers in survival mode
- The ravager you didn't punch is alerted, even though it is on a different team than the punched ravager.
Steps to recreate issue #2: Alerted ravagers have unreasonable aggro until they hit you. Shown here: https://www.youtube.com/watch?v=n5-Dk8ddq4k
- Create two boxes with solid walls so the ravagers do not have line of sight. Make the boxes longer in one dimension so the ravager has room to move back and forth.
- Spawn a ravager in each using a ravager spawn egg. Give them the Glowing effect.
- /effect give @e[type=minecraft:ravager] minecraft:glowing infinite 0 true
- Make a hole in one of the boxes and punch one of the ravagers in survival mode
- The ravager you didn't punch is alerted to you.
- Walk away while watching the alerted ravager, perpendicular to the wider dimension of the box. Move side to side several blocks from long distances to confirm that it is still aggro, as the ravager will move side to side to get as close as possible within the box.
Steps to recreate issue #3: Alerted ravagers retain aggro even if they join the same scoreboard team as their target.
Shown here: https://www.youtube.com/watch?v=08tgMBQbIa0
- Create two boxes with solid walls so the ravagers do not have line of sight.
- Spawn a ravager in each using a ravager spawn egg. Give them the Glowing effect.
- /effect give @e[type=minecraft:ravager] minecraft:glowing infinite 0 true
- Create a scoreboard team and join it
- /team add Test
- /team join Test @s
- Make a hole in one of the boxes and punch one of the ravagers in survival mode
- The ravager you didn't punch is alerted to you.
- Add the ravager to the same scoreboard team that you joined. It is still aggro and can still hit you.
- /execute as @e[type=minecraft:ravager] run team join Test @s