mojira.dev
MC-195599

Lightning spawners render full lightning bolt

The bug

If a spawner is set to spawn lightning bolts, a full lightning bolt is displayed, unlike miniature models of entities as usual in a spawner. Previously, lightning bolts were not rendered and could not be spawned using a spawner, but that has since changed, and now a full lightning bolt is rendered, spinning around the spawner.

When a player leaves the area around the spawner, the lightning bolt freezes in place. While looking from certain angles (upwards) at this frozen lightning bolt, it can become invisible.

The expected behavior is that either:

  • The lightning will not render at all and will not be spawnable by spawners, or

  • The spawner will render miniature model of a lightning bolt instead of a full-sized one

How to reproduce

  1. Run one of the following commands based on the version you're using:

    1.17.1 and older

    /setblock ~ ~-1 ~ minecraft:spawner{SpawnData:{id:"minecraft:lightning_bolt"}}

    21w37a and newer

    /setblock ~ ~ ~ minecraft:spawner{SpawnData:{entity:{id:"minecraft:lightning_bolt"}}}

    ❌ A full lightning bolt is shown

Video

Click this link to view this bug: https://youtu.be/kOufLlgOC3c

Additional information

  • This bug was not present in 1.15.2

  • This bug was present in 1.16.1

  • The spawner in the video attached has had data values changed to accelerate the speed at which it spawns lightning bolts

Linked issues

Attachments

Comments 16

Can confirm.

Can confirm the lightning spawner will have a small render or no longer uses as spawner

It doesn't fix now.

Can confirm in 21w03a.

Can confirm in 21w05a.

Can confirm in 21w13a.

6 more comments

Can confirm in 1.18.2.

Can confirm in 1.19.

[media]

Can confirm in 1.19.2.

Can confirm in 1.19.4 Pre-release 1.

Also affects trial spawners:

/setblock ~ ~ ~ trial_spawner{spawn_data:{entity:{id:"lightning_bolt"}}}

[Mod] markderickson

(Unassigned)

Confirmed

Platform

Low

Rendering

lightning_bolt, spawner

1.16.1, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, ..., 24w03b, 1.20.5 Pre-Release 1, 1.21.1, 1.21.4 Pre-Release 1, 25w05a

Retrieved