Minecraft Setblock Redstone Lamp?

Na
6

Have a question. I play 1.11 and would like to do a light animation, but I don't have a place for Redstone. Then I tried this:

/ setblock ~ ~ ~ lit_redstone_lamp.

But it didn't work. Does anyone know how to solve this?

Ti

Try it out with:

/ setblock ~ ~ ~ redstone_lamp [lit = true]

Na

Didn't work. Unfortunately.

Ti

Too bad.

Does this work here?

/ give @p redstone_lamp {BlockStateTag: {lit: "true"}} 1

Na

No, unfortunately not

Ti

Then only this would come to my mind:

/ setblock ~ ~ 1 ~ minecraft: lit_redstone_lamp 0 replace

You've already tried something like that, but maybe it doesn't work because you forgot minecraft:. The commands I mentioned then only work in the newer versions.

Na

HM okay. I used minecraft