1
I need command help!(Achieved)
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?
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?
4
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
I'm really not sure, though. Sorry
The space was the problem. Thank you so much! =)
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?
I am trying the entire command. The command block does not show any output.
