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

Warden's dig cooldown unconditionally resets on sniff

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 22w12a, 22w13a
    • Confirmed
    • Mob behaviour
    • Important

      When a warden attempts to sniff out a target, its dig cool-down timer will reset, regardless if its anger increases or not.

      In a normal survival scenario, this results in the warden not despawning even if a player is taking the intended steps to avoid being detected.

       

      Reproduction:

      1. Load a new creative world.
      2. Spawn a single warden.
      3. Switch to survival mode
      4. Allow the warden to sniff the player out, but keep at a distance such that it does not get angry at the player.
      5. Run the following command twice: once before the warden finishes its sniff animation, and once after it has found a target:
      /data get entity @e[type=minecraft:warden,limit=1] Brain.memories.minecraft:dig_cooldown.ttl 
      

      **

      Expected Result:

      The warden's dig cool-down will continue to count down if the warden was not angered after sniffing a target.

      Observed Result:

      The warden's dig cool-down resets even if it was not angered by sniffing a target.

      Attachments:

      • Video observing the behavior, following the reproduction steps listed above (warden_sniff_behavior.mp4).
      • World download for quickly testing the behavior (WardenBugTest.zip).

            Unassigned Unassigned
            Sun_in_VR VirtualSun
            Votes:
            9 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: