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

Villager line of sight broken through visibly transparent blocks.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.15.2
    • None
    • Java 1.15.2 (haven't tested in the snapshots)
    • Unconfirmed
    • (Unassigned)

      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.

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

              Created:
              Updated:
              Resolved: