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

Sniffer digging does not account for scale attribute

XMLWordPrintable

    • Confirmed
    • Commands
    • Low
    • Platform

      Sniffers digging into the ground does not account for the scale attribute, resulting in the sniffer being able to dig multiple blocks away from their own position, or dig far too close to their inner hitbox at larger scales.

      Steps to Reproduce:

      1. Create a super flat world
      2. Summon/spawn a sniffer
      3. Scale it downward to 0.25
        /attribute @e[type=minecraft:sniffer,limit=1] minecraft:generic.scale base set 0.25
        
      4. Wait for it to sniff a block

      Observed Behavior:

      The sniffer will play the animation as expected, but the block they dig over (and the block that shows particles) will be upwards of 2-3 blocks away from themselves. The behavior when scaling the sniffer upwards will be that the sniffer digs central to it's hitbox, disregarding it's head position.

      Expected Behavior:

      The sniffer in all cases would dig where it's head enters the ground, underneath it's hitbox.

      Screenshots/Videos:

      Notes:

      1. Related to other 'entity behavior with scale attribute' issues: MC-267486 MC-268415 MC-269476 MC-268010 MC-268009
      2. Related to other relevant sniffer issues: MC-262449 MC-269290

            Unassigned Unassigned
            Jingy Jiingy
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: