mojira.dev
MC-60533

Testforblock cannot detect the text of a sign

I found one bug

testforblock 1073 4 -315 minecraft:standing_sign 4 {Text1:"Hi",Text2:"Hi",Text3:"Hi",Text4:"Hi"}

testforblock's NBT are not Detected

But I don't now surely This is Obvious Error

Linked issues

Attachments

Comments 4

This really pissed me off... I had a whole kind of command block computer-contraption working via sign text and now its all useless...

I think that's because signs use json data now instead of plain text

You have to escape the quotes:

/testforblock ~-1 ~ ~ standing_sign 12 {Text1:"\"test\""}

Tip: You may read at any time the existing data of a block:

/blockdata ~-1 ~ ~  {}

How do i testfor different characters like \/+=-* because just putting them there doesnt work

FFvStar

(Unassigned)

Unconfirmed

Minecraft 14w27b

Retrieved