mojira.dev
MCPE-36977

Using scoreboard in a command block is very slow at updating a scoreboard

when I was making a king of the hill map using the following command with command block output off this was slow at updating the number 

 

execute @a ~ ~ ~ detect ~ ~-1 ~ gold_block 0 scoreboard players add @s score 1

 

Linked issues

Comments 2

You have to set the gamrule commandblockoutput to true or else it won't update properly. For more info check MCPE-36948

@PC_Screen:

Setting gamerule "commandblockoutput" to true will create a huge mess in the chat menu. Map makers and players don't want to see that. If the command is true, then it would say the command block's previous output.

Mine updates just fine with commandblockoutput set to false (when using remove)...

Gamerules:
commandblockoutput - Show command's previous output
commandblocksenabled - If true the command block will function
sendcommandfeedback - I have no idea what this does. For showing text such as "You have been given command block * 1"

Also, @s (self) only works by the player, not the command block...

To the creator of this issue: try execute @a ~ ~ ~ detect ~ ~-1 ~ gold_block 0 scoreboard players add @p score 1 or execute @p ~ ~ ~ detect ~ ~-1 ~ gold_block 0 scoreboard players add @p score 1. either should work...

Finn Mcloskey

(Unassigned)

Unconfirmed

Xbox

Latest

1.7.0.2 Beta

Retrieved