mojira.dev
MC-87296

Ctrl + Pick on Command block block does not save the conditional state

Ctrl + Pick block is not saving the condition of Command blocks

Related issues

MC-87389 Ctrl and Pickblock does not save contionality on command blocks MC-87662 Command Block 'Picks' Incorrectly MC-91254 Command blocks do not store conditionals in NBT data MC-92301 Chain Command Blocks Don't Keep "Conditional" State MC-93050 CTRL Middle Click doesn't copy Conditional Property MC-94366 Command block does not store conditional mode in NBT data MC-95468 Conditional value not saved MC-95505 Middle Click Command Blocks MC-97021 Pick Block - Command Block conditional state MC-97413 Command Blocks don't copy whether they are Conditional MC-101319 command block MC-102138 CTRL+Pick Block does not carry Conditional Tag MC-104487 Not getting conditional command block MC-112203 Commandblocks with "conditional" NBT data on the item won't be conditional when placed MC-113285 chain command blocks aren't activating if they are put in the world in sertain ways MC-119983 +NBT on Command Blocks not correctly? MC-122463 Command Blocks STILL dont keep Conditionality with CTRL+Pick Block MC-124474 Pick-blocking a Command block in Conditional Mode doesn't save the Conditional setting MC-149468 Command Block NBT Bug MC-153567 Using Ctrl+Pick Block (Pick Block with NBT) does not store that command blocks are conditional MC-155586 Picking up commands blocks with CTRL + SCROLL doesn't transfer conditional state MC-168693 Chain command block with nbt tag does not take into account the "conditional" option MC-175977 Command Block NBT Data MC-187498 when middle-clicking on a command block it does not save if it is conditional MC-221735 CONDITIONAL COMMAND BLOCKS do not save the fact that they are conditional when using "Ctrl+Pick-Block" MC-265556 If you place a command block with NBT data, it won't be conditional MC-267141 Command blocks don't save the "conditional" option when copied with NBT data MC-298603 Cannot copy the nbt of the command block

Comments

marcono1234

Probably intended even though it seems pretty annoying. The problem is that the conditional state is no longer saved as NBT tag and so it won't be copied.

migrated

And I think it's important that conditionality should be saved only when using Ctrl unlike wool which color is saved regardless of using Ctrl and that makes sense for wool but would be annoying for command blocks.

[Mod] Neko

Can also confirm.

migrated

It's like this in 15w37 too.

migrated

Still there in 15w38a

migrated

The bug is in 15w39b too.

migrated

Soooooooooooooooooooooooooooooooooooooooooooooo annoying ;'(

Irbis

15w42a is still affected.

[Mod] Neko

Affects 15w43a

migrated

15w44a confirmed.

Definitely very annoying, I've been working with command blocks and having the condition constantly reset every time I need to move/copy them is a huge pain.

chokoboy3

Confirmed for 15w45a

onnowhere

This is because the conditional command blocks are a data value of the block, not a block tag (i.e. command_block data:8 is conditional, but command_block data:0 is not), thus since it is not a tag, you can't pick-block it. This is likely done so that minecraft can apply a different texture to the block. A possible solution would be to split all the conditional blocks into a new block type (i.e. conditional_chain_command_block), which would allow it to be pick-block able.

Edit: Also, realizing that stone DOES pick-block on different data values, command blocks probably don't because then you would be able to pick-block specific directions the block faces, which probably isn't desired. So solution would still be to create a new block type for it. But on second thought, that might break current conditional command blocks placed in the world...perhaps make a special case for pick-block to pick only conditional or unconditional blocks out of all the data values? (like if you pick a cmd with data 0 to 7, you get an unconditional block, but 8 to 15 gets a conditional block)

Irbis

15w47a

migrated

Onnowhere,
CTRL+Pick copies NBT data, not only metadata. If it only copied metadata, then we wouldn't be able to CTRL pick and have a, say, repeat command block that doesnt require redstone. For some reason the condition effect on a command block does not copy with ctrl pick, possibly something to do with the NBT data

migrated

It looks like there's no any NBT tag that states the "condition" for a command block (although I really want it to have).

Skylinerw

@Dylan, Onnowhere is correct. The conditional setting is not stored in NBT, so the fact of NBT being copied is irrelevant.

migrated

@Skylinerw, Exactly what I was pointing out. There is no NBT setting for conditional therefor it does not copy correctly. Maybe I had misread and missed something, if so, I apologize

migrated

Confirmed for 15w50a

Cavinator1

Confirmed for 15w51b

[Mod] Neko

Confirmed for 16w06a

migrated

Confirmed for 1.9-pre1

migrated

Confirmed for 1.9-pre2

migrated

Same issue 😉

migrated

Still a problem in 1.9-pre3.

migrated

Still a problem in 1.9-pre4...

migrated

Confirmed for 1.9 Release.

migrated

This is a block state not an NBT tag. I think this should be added though. Can someone suggest this on the reddit forums?
http://www.reddit.com/r/minecraftsuggestions/

migrated

Still in 16w40a

migrated

Confirmed for 1.13.1.

migrated

Still in 1.14 Pre-Release 5

migrated

1.14.3 as well, since it's easier to mark tickets as duplicate than give a try on solving this that makes no sense since 1.9...

XLgaming_inc

Confirmed for 1.15.1

migrated

Hello,
Since a lot of version I have this problem ... When I copy a command block with the click wheel and the control key, the command is copied inside, however the “Conditional” option is not saved which is problematic in the following situation.
If I place a chain command block with a teleport command following a reapeting command block, the player is endlessly teleported to the same place, the only solution is to remember the coordinates of the command block to delete it ...
Besides, it would be great to have a gamerule allowing to stop the command blocks as on the servers.

Irbis

20w06a affected

migrated

still in 20w15a

migrated

confirmed in 20w17a

fullfungo

Present in 20w18a.

[Mod] markderickson

Hi there!

Can confirm for 1.16.1 and 20w28a.

migrated

Affects 1.16.1

Qhehlm

still in 1.21.2 release-candidate 1

migrated

(Unassigned)

Confirmed

Block states, Player

command_block, condition, conditional, ctrl-click, pick-block

Minecraft 15w35b, Minecraft 15w37a, Minecraft 15w38a, Minecraft 15w39b, Minecraft 15w42a, ..., 1.16 Pre-release 1, 1.16.1, 20w28a, 1.16.2 Pre-release 2, 1.16.2

Retrieved