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

Guardian beam doesn't render when guardian isn't in view

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.14.3
    • Minecraft 15w50a, Minecraft 16w42a, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12.2, Minecraft 1.13-pre8, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 19w04b, Minecraft 19w07a, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b
    • Confirmed
    • (Unassigned)

      The bug

      When the guardian is targeting someone, if the guardian is far enough out of your view the beam will not render.

      There will still be bubbles around where the beam should be, but the beam is invisible and only renders again if you can see the guardian again.

      It also means that for custom map making you can't have super long beams, instead you need to stack multiple guardians just to get a beam that looks infinite.

      Note: The reason why the air bubbles are still visible but the beam not is because the bubbles are created by the method net.minecraft.entity.monster.EntityGuardian.onLivingUpdate() whereas the beam is rendered by the entity renderer.

      How to reproduce

      1. Summon a guardian which is unable to move
        /summon armor_stand ~ ~ ~ {Passengers:[{id:"guardian"}]}
        
      2. Switch to Survival or Adventure mode
      3. Switch to third person view (F5)
      4. Stay near the guardian but rotate the camera in a way that the guardian is not visible anymore
        → You will see the air bubbles but not the beam

      Note: For some angles the guardian is not visible but the beam is, therefor try rotating the camera a little bit more

            Unassigned Unassigned
            Asteraoth [Mod] Asteraoth
            Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: