So my Minecraft name is "JAMES_the_camel" (yeah I know, strange..). So I was trying to make a door that only opened when it was me walking across the tripwire. The first block has the code:
testfor @p[1303,56,518,2,n=JAMES_the_camel]
It is impulse, unconditional and needs redstone.
The others use (repeated for all of the blocks):
setblock 1304 56 515 air
They are chain, unconditional and always active.
However the condition for the name doesn't have any effect. I tested it on 2 accounts and the door opened on both. Am I using the syntax wrong or is there something else I'm missing?
Edit - The problem has been confirmed as the pick block key saving all states correctly other than the conditional.
it used to save the conditional state since it was originally saved as NBT. However, it was changed later on during the 1.9 snapshots to be a blockstate rather than NBT. The reason behind that is because changing the conditional setting via NBT would not prompt the client to render the block anew, making it appear as a regular command block instead of conditional. Changing a blockstate would allow the client to re-render it. Pick-blocking only saves NBT, so that blockstate is lost. – Skylinerw