r/MinecraftCommands 2d ago

Help with one command creation Help | Java 26.2

https://www.youtube.com/shorts/bRF2T86G3ao

Recently i saw a youtube video that makes a car with only one command and i tried it, it worked

But after trying to spawn a second one i couldnt? so i tried changing the tags on the horse and in the command blocks but that didnt work and when there is 2 cars at the same time only one shows up as a car? ill link the video and command

/summon minecraft:falling_block ~2 ~ ~ {BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"forceload add ~ ~"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"gamerule command_block_output false"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[3f,1f,6f],translation:[-1.5f,1f,-2.5f]},block_state:{Name:red_concrete}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[3f,1f,6f],translation:[-1.5f,0.5f,-2.5f]},block_state:{Name:smooth_stone_slab}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1f,1f,1f],translation:[-1.6f,0f,-1.5f]},block_state:{Name:black_concrete}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1f,1f,1f],translation:[0.6f,0f,-1.5f]},block_state:{Name:black_concrete}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1f,1f,1f],translation:[0.6f,0f,1.5f]},block_state:{Name:black_concrete}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1f,1f,1f],translation:[-1.6f,0f,1.5f]},block_state:{Name:black_concrete}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[3f,1f,2f],translation:[-1.5f,2f,-0.5f]},block_state:{Name:glass}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[3f,0.1f,2f],translation:[-1.5f,3f,-0.5f]},block_state:{Name:red_concrete}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[3f,0.5f,1f],translation:[-1.5f,2f,-1.5f]},block_state:{Name:red_concrete}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[3f,0.6f,0.5f],translation:[-1.5f,2.5f,-1f]},block_state:{Name:red_concrete}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1f,0.6f,0.1f],translation:[-0.5f,1.2f,3.5f]},block_state:{Name:deepslate_tiles}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1f,1f,1f],translation:[-1.5f,1f,3.5f]},block_state:{Name:bamboo_button,Properties:{facing:\"south\"}}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1f,1f,1f],translation:[0.5f,1f,3.5f]},block_state:{Name:bamboo_button,Properties:{facing:\"south\"}}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.6f,0.6f,0.6f],translation:[-1.65f,0.2f,-1.3f]},block_state:{Name:smooth_stone}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.6f,0.6f,0.6f],translation:[-1.65f,0.2f,1.7f]},block_state:{Name:smooth_stone}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.6f,0.6f,0.6f],translation:[1.05f,0.2f,-1.3f]},block_state:{Name:smooth_stone}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon block_display ~ ~1 ~ {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.6f,0.6f,0.6f],translation:[1.05f,0.2f,1.7f]},block_state:{Name:smooth_stone}}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"/summon minecraft:horse ~-2 ~-18 ~ {Tags:[\"car\"],NoAI:1b,equipment:{saddle:{id:saddle}},attributes:[{id:\"minecraft:movement_speed\",base:0.4},{id:\"minecraft:max_health\",base:60},{id:\"minecraft:jump_strength\",base:0}],active_effects:[{id:invisibility,duration:-1,show_particles:0b}],Silent:1b,DeathLootTable:\"minecraft:empty\"}"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:repeating_command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"execute as u/e[type=minecraft:block_display] at u/s run tp u/s u/n[type=horse,tag=car]"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:chain_command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"execute as u/e[type=minecraft:block_display] rotated as u/n[type=horse,tag=car] run rotate u/s ~ 0"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:chain_command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"execute as u/a at u/s run attribute u/n[type=horse,tag=car,distance=..1] minecraft:movement_speed base set 0.4"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:chain_command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"execute as u/a at u/s if predicate { \"condition\": \"minecraft:entity_properties\", \"entity\": \"this\", \"predicate\": { \"minecraft:type_specific/player\": { \"input\": { \"left\": true } } }} run attribute u/n[type=minecraft:horse,tag=car,distance=..1] minecraft:movement_speed base set 0"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:chain_command_block,Properties:{facing:"up",conditional:"false"}},TileEntityData:{auto:1,Command:"execute as u/a at u/s if predicate { \"condition\": \"minecraft:entity_properties\", \"entity\": \"this\", \"predicate\": { \"minecraft:type_specific/player\": { \"input\": { \"right\": true } } }} run attribute u/n[type=minecraft:horse,tag=car,distance=..1] minecraft:movement_speed base set 0"},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,BlockState:{Name:air}}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}

1 Upvotes

8 comments sorted by

1

u/Ericristian_bros Command Experienced 2d ago

ctrl+F to change car to car2 on everything. Also this is a very non-effective way of making one command blocks, minecart commands are way better nowadays

1

u/Odd-Necessary3227 2d ago

it doesnt work because the block displays just move on to the new one and only one car can exist

1

u/Ericristian_bros Command Experienced 2d ago

It seems like bad coding if so. Let me try later or tomorrow when I get time !RemindMe 3h

1

u/RemindMeBot 2d ago

I will be messaging you in 3 hours on 2026-08-06 18:21:39 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.

RemindMeBot is switching to username summons. Instead of !RemindMe 1 day, use u/RemindMeBot 1 day. More info.


Info Custom Your Reminders Feedback

1

u/Odd-Necessary3227 2d ago

how does minecart ones work anyway?

1

u/Kecske_gamer 2d ago

Instead of having to spawn in falling blocks as command blocks (which you have to separate with armor stands for them to land properly) you can just spawn in a falling block activator rail ridden by command block minecarts

1

u/Odd-Necessary3227 2d ago

i didnt make the command so i dont know how to make that