99.9% of commands written in 1.13 will work in 1.14 because there were no changes made to the command syntax between the two versions. Your commands are using the old 1.12 syntax and that's most likely why they aren't working. In 1.13+, there is no block data specified after the block id so the setblock command should look like this: /setblock <x> <y> <z> redstone_block replace. Also, the command_block_minecart uses a lowercase 'm'.
*The /setblock commands that I'm using are= /setblock 174 70 -120 redstone_block replace and /setblock 174 71 -120 powered_rail replace
They both work.
^ you used the correct commands here. Just remove the 0 (block data) after the block id in every command (including the minecarts).
I was able to get it working using /execute instead oh writing the commands in the command block minecarts. Just place down a repeating and chain command block and paste these in:
execute at @e[type=minecraft:command_block_minecart] run setblock ~ ~-1 ~-1 minecraft:redstone_block
execute at @e[type=minecraft:command_block_minecart] unless block ~ ~ ~-1 minecraft:rail unless block ~ ~-1 ~-1 air run setblock ~ ~ ~-1 minecraft:rail
my minecarts were pointing to the south (negative z). The first command just sets the redstone block and the second command will place a rail if there isn't already one there (unless block ~ ~ ~-1 rail) and if there is a block bellow that spot to support the rail (unless block ~ ~-1 ~-1 air). Also, I used normal rails since all the commands are in the command block instead of the minecarts. Actually, you don't need the command block minecarts at all if you use this haha.
I guess it's one of those creations which worked in older versions when things worked differently. I also tried to do it like the video shows but it would skip over a block or two and break.
Awesome! Thank you! it works! Now all i need is a way to stop it. If I left this going in my world it would lag me really bad. Is there a way to turn it off? or remove the mine carts that started the chain?
Okay everything works fine in the world you sent me. I even moved it around. but when i do the exact same thing as you did in my world it does not create the rails.
Awesome! Thank you! it works! Now all i need is a way to stop it. If I left this going in my world it would lag me really bad. Is there a way to turn it off? or remove the mine carts that started the chain?
With tags. Simply edit all the commands and add a tag into every selector.
execute at @e[type=minecraft:command_block_minecart,tag=infinite,tag=your_tag_here] run setblock ~-1 ~-1 ~ minecraft:redstone_block
execute at @e[type=minecraft:command_block_minecart,tag=infinite,tag=your_tag_here] unless block ~-1 ~ ~ minecraft:rail unless block ~-1 ~-1 ~ air run setblock ~-1 ~ ~ minecraft:rail
Okay everything works fine in the world you sent me. I even moved it around. but when i do the exact same thing as you did in my world it does not create the rails.
Have you tried resetting the command blocks? un-power and re-power the repeating command block by setting it from "always active" to "needs redstone" and then back to "always active" because command blocks can sometimes freeze.
Still stuck with it making no rails. i feel like maybe my problem is my texture pack or forge. I use a mini map mod and a leaf decay mod. and a zoom mod just the 3 ill remove them and try again
I'm trying to do this in 14.4 java =
I know its for 1.13.
I changed the commands to 1.14.4 commands and everything works until I push the mine carts, the don't make the track at all and just separate apart.
my commands:
set 1 = /setblock 174 70 -120 minecraft:redstone_block 0 replace
/setblock 174 71 -120 minecraft:activator_rail 0 replace
set 2 = /summon minecraft:command_block_Minecart 174 72 -120 {Command:"/setblock ~1 ~0 ~ minecraft:air 0 replace"}
/summon minecraft:command_block_Minecart 174 72 -120 {Command:"/setblock ~1 ~1 ~ minecraft:air 0 replace"}
/summon minecraft:command_block_Minecart 174 72 -120 {Command:"/setblock ~1 ~-2 ~ minecraft:redstone_block 0 replace"}
/summon minecraft:command_block_Minecart 174 72 -120 {Command:"/setblock ~1 ~-1 ~ minecraft:activator_rail 0 replace"}
Please any help is greatly appreciated! Thanks!
Welcome to the forum!
99.9% of commands written in 1.13 will work in 1.14 because there were no changes made to the command syntax between the two versions. Your commands are using the old 1.12 syntax and that's most likely why they aren't working. In 1.13+, there is no block data specified after the block id so the setblock command should look like this: /setblock <x> <y> <z> redstone_block replace. Also, the command_block_minecart uses a lowercase 'm'.
Command block engineer // Developer // #TeamTrees
"there is no block data specified after the block id so the setblock command should look like this: /setblock <x> <y> <z> redstone_block replace"
So I should or should not have coordinates after "/setblock" because I do have them. (*see below)
*The /setblock commands that I'm using are= /setblock 174 70 -120 redstone_block replace and /setblock 174 71 -120 powered_rail replace
They both work.
its the mine carts that wont work. they show up and i can push them but the just roll and don't create anything.
So now all my commands look like this:
First 2 command blocks
/setblock 174 70 -120 minecraft:redstone_block 0 replace
/setblock 174 71 -120 minecraft:activator_rail 0 replace
set of 4 command blocks
/summon minecraft:command_block_minecart 174 72 -120 {Command:"/setblock ~1 ~0 ~ minecraft:air 0 replace"}
/summon minecraft:command_block_minecart 174 72 -120 {Command:"/setblock ~1 ~1 ~ minecraft:air 0 replace"}
/summon minecraft:command_block_minecart 174 72 -120 {Command:"/setblock ~1 ~-2 ~ minecraft:redstone_block 0 replace"}
/summon minecraft:command_block_minecart 174 72 -120 {Command:"/setblock ~1 ~-1 ~ minecraft:activator_rail 0 replace"}
and i want them to move west.
^ you used the correct commands here. Just remove the 0 (block data) after the block id in every command (including the minecarts).
Command block engineer // Developer // #TeamTrees
Okay! thanks! Ill try that out see what happens. lol
It still does the same thing. the mine carts with commands don't do anything they just act like normal mine carts and do not create the track.
These are my command lines for the carts:
/summon minecraft:command_block_minecart 174 72 -120 {Command:"/setblock ~1 ~0 ~ minecraft:air replace"}
/summon minecraft:command_block_minecart 174 72 -120 {Command:"/setblock ~1 ~1 ~ minecraft:air replace"}
/summon minecraft:command_block_minecart 174 72 -120 {Command:"/setblock ~1 ~-2 ~ minecraft:redstone_block replace"}
/summon minecraft:command_block_minecart 174 72 -120 {Command:"/setblock ~1 ~-1 ~ minecraft:activator_rail replace"}
Thanks for helping out I obviously don't know what i'm doing lol
I was able to get it working using /execute instead oh writing the commands in the command block minecarts. Just place down a repeating and chain command block and paste these in:
my minecarts were pointing to the south (negative z). The first command just sets the redstone block and the second command will place a rail if there isn't already one there (unless block ~ ~ ~-1 rail) and if there is a block bellow that spot to support the rail (unless block ~ ~-1 ~-1 air). Also, I used normal rails since all the commands are in the command block instead of the minecarts. Actually, you don't need the command block minecarts at all if you use this haha.
I guess it's one of those creations which worked in older versions when things worked differently. I also tried to do it like the video shows but it would skip over a block or two and break.
Command block engineer // Developer // #TeamTrees
first off thank you for all your help!
Now, I made 2 command blocks:
the first was the first command line and was repeating
the second was the second command line and was chain
i sat them next to each other touching the 1st one on the left 2nd one on the right
put a button on the first one
it created the mine carts and the redstone block and but no rails and did not create anything when i moved them.
This is probably beyond me i guess lol
You need to set the command blocks to always active by accessing the GUI and clicking on "needs redstone" and clicking done.
Command block engineer // Developer // #TeamTrees
Okay I did that and nothing happens now.
How do i put in my own coordinates? I want the train to go west.
Thanks so much for being awesome and patient!
West is negative X so I think it goes like this:
and here is a world download in case you still can't get it to work: https://www.dropbox.com/sh/1pf74f7k06p3qqc/AABQp7WRrQCYPwu00MUN2Be-a?dl=0
to use normal minecarts instead of the command block minecarts, just replace all "minecraft:command_block_minecart" with "minecraft:minecart".
Command block engineer // Developer // #TeamTrees
Wow thanks! Okay I'm going to check this out I'll get back to you when I'm done
I honestly really can't thank you enough!
Awesome! Thank you! it works! Now all i need is a way to stop it. If I left this going in my world it would lag me really bad. Is there a way to turn it off? or remove the mine carts that started the chain?
Okay everything works fine in the world you sent me. I even moved it around. but when i do the exact same thing as you did in my world it does not create the rails.
With tags. Simply edit all the commands and add a tag into every selector.
and then you can add/remove the tag with:
via chat or command block. If you use tags, you also need to add the tags to the summon commands (the 2 impulse command blocks) like so:
Have you tried resetting the command blocks? un-power and re-power the repeating command block by setting it from "always active" to "needs redstone" and then back to "always active" because command blocks can sometimes freeze.
Command block engineer // Developer // #TeamTrees
Still stuck with it making no rails. i feel like maybe my problem is my texture pack or forge. I use a mini map mod and a leaf decay mod. and a zoom mod just the 3 ill remove them and try again
Okay well no matter what i do the rails wont populate. but no worries i found a not as fun way to do what i want with the fill command
Thank you so much for helping me! Sorry I couldn't get it right lol You're and awesome one!
Hello! One more question if you don't mind.
I want to fill in a single line of blocks with End Rods. But I want them to be connected in a straight line.
I used this: /fill 143 69 -120 0 69 -120 end_rod
but it places the end rods standing up not all connected in a straight line.
How can I change the end rods orientation? Here's a pic of what I'm talking about. Thanks for ALL of your awesome help!
Simply add [facing=<side>] to the end_rod. Example:
please make a new thread for any new questions so this thread stays on topic
Command block engineer // Developer // #TeamTrees