mojira.dev
MC-141297

You cannot set lit state of redstone torches using setblock, debug stick and BlockStateTag, to be to opposite of the situation it would be in

Using the debug stick, or using setblock, fill, etc. you cannot create redstone torches that are unlit, only when the block the torch is on/attached to is powered, in which case, making it lit becomes impossible.

This is inconsistent with every other powerable block, which you can create and alter to be powered, without it getting "corrected".

In order to do this with setblock or fill, replace a block with the same ID, in order to create such a block, eg replace a redstone lamp with redstone_lamp[lit=true] to create a lit redstone lamp, without redstone power. This does not work for redstone torches, which will change their lit state depending on the attached block's incomming redstone power.

Linked issues

Attachments

Comments 22

Debug sticks are not supported, and bugs involving them will be marked as Won't Fix/Invalid.

Um, perhaps read? This is not only with debug sticks, debug sticks are only 1 of the ways to try and make an unlit redstone torch, hence why I did mention them, but it's not the sole way of getting this issue.

Well? Is this not a duplicate of MC-122323?

Oh, and by the way, you yourself commented on the issue: "Debug stick bugs won’t get fixed, as it’s not supported."

1. That one is solely about debug sticks unable to make it, this covers more.
2. I’m aware debug sticks aren’t supported, but again, I just listed them as it’s an alternate way of trying to achieve it.

Affects 19w07a

12 more comments

Relates to MC-193404.

Relates to MC-255254 and can confirm in 1.19.2 and 1.19.3-rc3

Not really related to that; the redstone torch does set the state, but immediately changes the state to what the game would normally have it in as if manually placed,rather than just refusing to set the state.

Can confirm in 23w04a

The fix in 25w02a only applies when using /setblock or /fill, and does not work with a debug stick.

user-f2760

(Unassigned)

Confirmed

Platform

Normal

Redstone

Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, ..., 1.20.1, 1.20.2, 23w43b, 1.20.4, 24w33a

25w02a

Retrieved