mojira.dev
MC-42486

Command Block Problems

Please Note: It was an error in my redstone creation. But, another bug was possibly found.*
Summary
I had a clock going that would clear the wither effect from all players in gamemode 1 (creative). [This worked.] Once that happened it sends out a redstone signal that would go to some command blocks that would output using the /tellraw command.

What I expected to happen was...:
I expected the command within the /tellraw click event section to work.

What actually happened was...:
The click event didn't work, and produced an error.

Steps to Reproduce:
Reproducing this bug has come to be a problem. It seems to affect random command blocks. Sorry that this section is of no help.

The Command I Used:
There might be an error in my command, like it says, but I couldn't find what error it was talking about.

/tellraw @a[m=1] {"text":"","extra":[{"text":"New Potion?","color":"gold","bold":"false","italic":"false","underlined":"false","strikethrough":"false","obfuscated":"false","clickEvent":{"action":"run_command","value":"/give @p minecraft:potion 1 16428 {CustomPotionEffects:[{Id:20,Amplifier:2,Duration:100}],display:{Name:\"OP/Admin Extra Commands\"}}"},"hoverEvent":{"action":"show_text","value":"Give yourself a new potion."}}]}

Linked issues

Attachments

Comments 4

But, all I got was an error in the command block,

What error exactly ? Please attach a screenshot.

I'm sorry that I changed my post to that of the /give command issue that I had.

The "/give" statement is too long - it has to fit in the chat buffer (128 chars or so)

Actually I'm using a 303 character /tellraw from a command block so that works... however your clickable command sent to the player is over 128 which exceeds the chat limit.

Zarick13

(Unassigned)

Unconfirmed

command_block, redstone

Minecraft 1.7.4

Retrieved