mojira.dev
MC-94371

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

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

Linked issues

Attachments

Comments

Brian McNamara

Allegedly also the beam is invisible if the guardian is invisible, which is a change from 1.8 (may be related).

[Mod] redstonehelper

@@unknown: New ticket for that please, if true.

marcono1234

@@unknown: Cannot confirm what you are describing for 17w06a

/summon armor_stand ~ ~ ~ {Passengers:[{id:"guardian",ActiveEffects:[{Id:14b,Amplifier:1b,Duration:1200,ShowParticles:0b}]}]}
wobst.michael

Cannot reproduce in 17w48a. Can someone else please take a look at this issue?

Asteraoth

Confirmed for 1.13-pre8

Asteraoth

Confirmed for 1.13

Asteraoth

Confirmed for 18w30b

Asteraoth

Confirmed for 18w31a

Asteraoth

Confirmed for 18w32a

Asteraoth

Confirmed for 18w33a

Asteraoth

Seems to be fixed.

Edit: It got improved, but not fixed.

Asteraoth

Cannot reproduce anymore. If you can still reproduce, please provide any steps and a world download.

libraryaddict

Asteraoth

(Unassigned)

Confirmed

(Unassigned)

beam, guardian, rendering

Minecraft 15w50a, Minecraft 16w42a, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12.2, ..., Minecraft 19w07a, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b

Minecraft 1.14.3

Retrieved