mojira.dev
MC-52004

/testfor in commandblock

I was using /testfor @e[name=Justin_Time] for an adventure map I am making. It works if you manually type it in chat but it doesn't work in command blocks.

What I expected to happen was...:
It to give a comparator output.

What actually happened was...:
Unkown Command type /help for list of commands

Steps to Reproduce:
1. Type /testfor @e[Justin_Time] in command block
2. Unkown Command type /help for list of commands

Notice how this happens.
1. Type /testfor @e[Justin_Time] in chat
2. Found Justin_Time

Attachments

Comments 4

Unable to reproduce, see screenshot.

what do you mean by cannot reproduce?

You wrote:
Steps to Reproduce:
1. Type /testfor @e[Justin_Time] in command block
2. Unkown Command type /help for list of commands

I followed those steps and wasn't able to reproduce the issue.

I just tried it again and it seems that the bug only happens when using a rapid pulsar using a redstone block entering a comparator which outputs a signal into the side of itself causing the redstone to flash. When I tried the command block with a lever it worked fine.

Jacob Herd

(Unassigned)

Unconfirmed

Minecraft 14w11b

Retrieved