Straight Line Minecraft
Straight Line Minecraft by XeventoHD18231618    2
You can literally just walk in a Straight Line, like Wadzee's Challenge. This is my first OneCMD Creation and I want to improve it, so leave suggestions to what I should add. I'm also gonna add a proper video once I made one. Changelog: 1.1.0, Added the feature to craft Nether Portals (throw 8 Obsidian + 1 Lava Bucket on the Ground)
Minecraft 1.16.4
5232 characters
More by XeventoHD
How to install
Comments
Show source commands
/summon falling_block ~ ~1 ~ {BlockState:{Name:"minecraft:stone"},Time:1,Passengers:[{id:"minecraft:armor_stand",Health:0f,Passengers:[{id:"minecraft:falling_block",BlockState:{Name:"minecraft:redstone_block"},Time:1,Passengers:[{id:"minecraft:armor_stand",Health:0f,Passengers:[{id:"minecraft:falling_block",BlockState:{Name:"minecraft:activator_rail"},Time:1,Passengers:[{id:"minecraft:command_block_minecart",Command:"gamerule commandBlockOutput false",Passengers:[{id:"minecraft:command_block_minecart",Command:"fill ~2 ~-3 ~-1 ~6 ~-3 ~1 black_concrete",Passengers:[{id:"minecraft:command_block_minecart",Command:"/give @p written_book{pages:['[\"\",{\"text\":\"Straight Line Minecraft\",\"bold\":true,\"hoverEvent\":{\"action\":\"show_text\",\"contents\":\"by XeventoHD\"}},{\"text\":\"\\\\n\\\\nWelcome to Straight Line Minecraft. You can only walk in a straight line, basically limiting the 3D aspect of Minecraft.\\\\n\\\\nRight now, there isn\\'t much more besides that and I will add a lot more in the future.\\\\n \",\"color\":\"reset\"}]','{\"text\":\"Also, I think you can\\'t beat the game with this version of \\\\\"Straight Line Minecraft\\\\\". This will also be changed in a future version.\\\\n\\\\nWith that out of the way, enjoy your time in a Straight Line. (Literally)\\\\n\\\\nBy XeventoHD\"}'],title:\"Straight Line Minecraft\",author:XeventoHD,generation:3}",Passengers:[{id:"minecraft:command_block_minecart",Command:"fill ~2 ~-2 ~-1 ~6 ~2 ~1 glass",Passengers:[{id:"minecraft:command_block_minecart",Command:"fill ~2 ~3 ~-1 ~6 ~3 ~1 black_concrete",Passengers:[{id:"minecraft:command_block_minecart",Command:"setblock ~3 ~-2 ~ repeating_command_block[facing=up]{Command:'execute as @p at @s align x run worldborder center ~0.5 ~',auto:1b} replace",Passengers:[{id:"minecraft:command_block_minecart",Command:"setblock ~3 ~-1 ~ chain_command_block[facing=up]{Command:'execute as @p at @s if entity @p[x=96.3, dx=1] run tp @p 95 ~ ~',auto:1b} replace",Passengers:[{id:"minecraft:command_block_minecart",Command:"setblock ~3 ~ ~ chain_command_block[facing=up]{Command:'execute as @p at @s if entity @s[x=92.7, dx=1] run tp @p 95 ~ ~',auto:1b} replace",Passengers:[{id:"minecraft:command_block_minecart",Command:"setblock ~4 ~-2 ~ repeating_command_block[facing=up]{Command:'execute as @e[type=item,nbt={Item:{id:\"minecraft:obsidian\", Count: 8b}}] at @s if entity @e[type=item, distance=..1, nbt={Item:{id: \"minecraft:lava_bucket\", Count: 1b}}]',auto:1b} replace",Passengers:[{id:"minecraft:command_block_minecart",Command:"setblock ~4 ~-1 ~ chain_command_block[facing=up,conditional=true]{Command:'execute at @e[type=item,nbt={Item:{id:\"minecraft:obsidian\", Count:8b}}] run particle minecraft:instant_effect ~ ~ ~ 0.01 0.005 0.01 0.01 100 force',auto:1b} replace",Passengers:[{id:"minecraft:command_block_minecart",Command:"setblock ~4 ~ ~ chain_command_block[facing=up,conditional=true]{Command:'execute as @e[type=item,nbt={Item:{id:\"minecraft:obsidian\", Count:8b}}] at @s run kill @e[distance=..1,type=item,nbt={Item:{id:\"minecraft:lava_bucket\", Count:1b}}]',auto:1b} replace",Passengers:[{id:"minecraft:command_block_minecart",Command:"setblock ~4 ~1 ~ chain_command_block[facing=up,conditional=true]{Command:\"execute as @e[type=item,nbt={Item:{id:\\\"minecraft:obsidian\\\", Count:8b}}] at @s run summon item ~ ~ ~ {Item:{id:\\\"minecraft:silverfish_spawn_egg\\\",Count:1b,tag:{display:{Name:'{\\\"text\\\":\\\"Nether Portal\\\",\\\"color\\\":\\\"#9736C8\\\",\\\"bold\\\":true}'},HideFlags:1,Enchantments:[{id:\\\"minecraft:efficiency\\\",lvl:1s}],EntityTag:{Fire:20,NoAI:1b,Health:1f,Tags:[\\\"sp_portal\\\"]}}}}\",auto:1b} replace",Passengers:[{id:"minecraft:command_block_minecart",Command:"setblock ~4 ~2 ~ chain_command_block[facing=up,conditional=true]{Command:'execute as @e[type=item,nbt={Item:{id:\"minecraft:obsidian\", Count:8b}}] at @s run kill @e[distance=..1,type=item,nbt={Item:{id:\"minecraft:obsidian\", Count:8b}}]',auto:1b} replace",Passengers:[{id:"minecraft:command_block_minecart",Command:"setblock ~5 ~-2 ~ repeating_command_block[facing=up]{Command:'execute as @e[type=minecraft:silverfish,tag=sp_portal] at @s run fill ~-2 ~ ~ ~2 ~4 ~ minecraft:obsidian',auto:1b} replace",Passengers:[{id:"minecraft:command_block_minecart",Command:"setblock ~5 ~-1 ~ chain_command_block[facing=up,conditional=true]{Command:'execute as @e[type=minecraft:silverfish,tag=sp_portal] at @s run fill ~-1 ~1 ~ ~1 ~3 ~ minecraft:nether_portal',auto:1b} replace",Passengers:[{id:"minecraft:command_block_minecart",Command:"forceload add ~ ~ ~ ~3",Passengers:[{id:"minecraft:command_block_minecart",Command:"setblock ~ ~ ~1 command_block{Command:\"fill ~ ~-3 ~-1 ~ ~ ~ air\"}",Passengers:[{id:"minecraft:command_block_minecart",Command:"setblock ~ ~-1 ~1 redstone_block",Passengers:[{id:"minecraft:command_block_minecart",Command:"worldborder set 3",Passengers:[{id:"minecraft:command_block_minecart",Command:"tp @p 95 100 ~",Passengers:[{id:"minecraft:command_block_minecart",Command:"effect give @p minecraft:resistance 10 255",Passengers:[{id:"minecraft:command_block_minecart",Command:"kill @e[type=command_block_minecart,distance=..1]"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}