Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-250114

Wardens are forced to roar at their suspect again when you change their data

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 22w14a, 22w18a, 22w19a, 1.19 Pre-release 1, 1.19 Pre-release 2, 1.19 Pre-release 3, 1.19 Pre-release 4, 1.19 Pre-release 5, 1.19 Release Candidate 1, 1.19.1 Pre-release 1, 23w06a, 23w07a, 1.19.4 Pre-release 4, 1.19.4, 23w51b
    • Community Consensus
    • Commands, Mob behaviour
    • Normal
    • Platform

      I made a custom enchantment for a datapack that would change the mob's movement speed attribute to 0 and store it back later depending on what it was, and while I was testing this on the warden I found some interesting results. While the warden does keep the anger in nbt under anger.suspects, it sometimes also switches to a different target in the array if the movement attribute is set to 0. 

      Observed Behavior:
      The wardenloses interest or switches target, choosing from the anger.suspects array

      Expected Behavior:
      The warden will keep anger at the player until it is free to move again.

      Demonstration:

      Video 1

      Video 2

      Video 3

       

      EDIT: Read comment for reproduction steps

        1. test.zip
          10 kB
        2. WardenAggression.mp4
          3.04 MB

            Unassigned Unassigned
            snaplingdd Snap Doomy
            Votes:
            8 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: