mojira.dev
MC-75551

tp @e[score_name_min=1] not working in command blocks

I was trying to make a machine that used /trigger
to make a player teleport up 1 block when they clicked a
word in a book

I tried to put this command : tp @a[score_jump_min=1] ~ ~1 ~
into a command block and there wasn't even an error message in "previous output"

so I disabled the command blocks and put the command in the chat
and it worked fine

Attachments

Comments 4

@Sonic No hes right, [] is used for parameters, {} is used for NBT.

I think your probably here is running /scoreboard players set @a jump 0 and tp @a[score_jump_min=1] ~ ~1 ~ at the same time. Try adding delay between these two command blocks.

Yes, you're setting Jump to zero and test for Jump >= 1 at the same time.

Breadfish64

(Unassigned)

Unconfirmed

Minecraft 1.8.1

Retrieved