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

Sniffers stop searching for seeds when off the ground

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 23w18a, 1.20 Release Candidate 1, 1.20, 1.20.1, 1.20.2 Pre-release 1, 1.20.2, 1.21, 1.21.1
    • Confirmed
    • Mob behaviour
    • Important
    • Gameplay

      When sniffers jump up or fall down a block while searching for seeds, they will cancel the animation and stop searching before attempting again.

      It seems that the sniffer momentarily leaving the ground is what causes this, and that's why sniffers going up slabs doesn't cancel the animation as the sniffer isn't technically leaving the ground.

      This makes it difficult for sniffers to successfully find seeds on hilly, non-flat terrain.

      How to reproduce

      1. Create a flat world made of grass (the grass is necessary as it a type of block that the sniffer can dig).
      2. Spawn/summon a sniffer.
      3. Type in this command to get the sniffer to search for seeds faster: /data merge entity @e[type=minecraft:sniffer,limit=1] {Brain: {memories: {"minecraft:sniff_cooldown": {value:{}, ttl: 0L}}}}
      4. Once the sniffer does a big sniff, it will start searching. Right as this happens, either place or remove blocks in front of the sniffer to make it jump up or fall down.
      5. If the sniffer finds a seed before you get it to go up or down, repeat step 3 and 4 until you can get the sniffer to change in elevation.

      Observed Result

      The sniffer stops sniffing after jumping up or falling down momentarily (seen in attached videos).

      Expected Result

      The sniffer continues searching after jumping up or falling down.

        1. _BugTracker_ (1.21).png
          660 kB
          BugTracker
        2. sniffer going down.mp4
          7.06 MB
          UncomfyMattress
        3. sniffer going up.mp4
          7.55 MB
          UncomfyMattress

            Unassigned Unassigned
            UncomfyMattress UncomfyMattress
            Votes:
            9 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: