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

Details

    • 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
    • Unconfirmed
    • (Unassigned)

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: