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

Villager line of sight broken through visibly transparent blocks.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.15.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Java 1.15.2 (haven't tested in the snapshots)
    • Confirmation Status:
      Unconfirmed
    • Category:
      (Unassigned)

      Description

      1. Create a setup as follows: 
      2. Place a glass block above the green terracotta block, and hit or kill one of the villagers.
      3. Try to trade with the other villager.

      Result: The villager will not change the prices of their trade. This also happens when placing 3 glass panes in a line, as well as with blocks like slime, honey, leaves, snow layers above 6, and even the lectern. (I'm guessing due to the weird shape of the bounding block, its' treated as a full block). Doors and Trap doors are debatable (they have holes, but the door/trapdoor model doesn't reflect that, I think).

       

      I know why it's happening, though - the object model is blocking the line of sight, but I would think that villagers should be able to see the villager next to them be hurt.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              ariosos Ariosos
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: