mojira.dev
MC-48804

Wrong redstone state, when lever is added with command block

When lever is in on-state and I use command block to replace it with off-state lever, redstone state remains on.

/setblock ~ ~ ~-2 lever 3

If I use two command blocs and first remove lever and then add new off-state lever, everything works fine.

/setblock ~ ~ ~-3 air
/setblock ~ ~ ~-2 lever 3

Linked issues

Attachments

Comments

EscoreFairplay

Confirmed for 14w08a

Tracker

Confirmed for 14w21b

galaxy_2alex

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.

Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been delivered.

KingSupernova

MC-31100, MC-48804, MC-75426, MC-76983, and many others should really all be part of the same report. It doesn't make sense to have a different issue for each block, as the underlying issue is the same- The setblock command doesn't always cause a block update at the affected blocks.

Zilwery

(Unassigned)

Community Consensus

command_block, lever, redstone

Minecraft 14w07a, Minecraft 14w08a, Minecraft 14w21b, Minecraft 1.8.1, Minecraft 1.8.2-pre6

Retrieved