1

I need command help!(Achieved)

CommandRedstone 11/23/18 10:13 am history
177
11/23/2018 12:51 pm
I am currently working on making a working car in minecraft java 1.13. It is just blocks being cloned in a certain directions. I have this command in a command block next to the car:
execute at @p as @p[nbt={SelectedItemSlot:0}] if block ~-1 ~ ~ minecraft:quartz_stairs if block ~-4 ~ ~ minecraft:air run clone ~2 ~2 ~1 ~-3 ~ ~-1 ~-4 ~ ~-1 masked move
, and it does not work. However, when I run the command through chat it does work. How can I fix this?
Posted by
CommandRedstone
Level 20 : Expert System
11

  Have something to say?

JoinSign in

4

Jewelman
11/23/2018 11:41 am
He/Him • Level 54 : Grandmaster Dog
This works totally fine for me. Maybe you accidentally have the wrong slot selected when you run it? I don't know. There's a space at the end of the command (or at least between "move" and the next comma). Maybe that's the issue.

I'm really not sure, though. Sorry
2
CommandRedstone
11/23/2018 12:51 pm
Level 20 : Expert System
The space was the problem. Thank you so much! =)
1
ShelLuser
11/23/2018 11:31 am
Level 61 : High Grandmaster System
What command are you trying in chat? This entire command line or just a part of it? Also: what output does the command block show you?
1
CommandRedstone
11/23/2018 11:35 am
Level 20 : Expert System
I am trying the entire command. The command block does not show any output.
1

Welcome