1
Multiple Commands in one Command Block
Is it possible to put multiple commands in one command block?
if not, Is there a way to use the setblock command without tons of command blocks?
if not, Is there a way to use the setblock command without tons of command blocks?
Create an account or sign in to comment.
11
I once posted this kind of thread; got no attention.
You can actually just summon several command block minecarts and then an activator rail beneath them, but make sure the pulse is a bit shorter because they loop each second, but that would give you multiple command "blocks" in one block space.
Use this command, replacing the "insertcommandhere" and "insertothercommandhere" with your two commands.
Command:
/summon FallingSand ~ ~1.6 ~ {TileID:152,Time:1,Riding:{id: FallingSand,TileID:137,Time:1,TileEntityData:{Command:/insertcommandhere},Riding:{id:FallingSand,Time:1,TileID:152,Riding:{id:FallingSand,TileID:137,Time:1,TileEntityData:{Command:/insertothercommandhere}}}}}
Note: The insertothercommandhere goes off first.
Command:
/summon FallingSand ~ ~1.6 ~ {TileID:152,Time:1,Riding:{id: FallingSand,TileID:137,Time:1,TileEntityData:{Command:/insertcommandhere},Riding:{id:FallingSand,Time:1,TileID:152,Riding:{id:FallingSand,TileID:137,Time:1,TileEntityData:{Command:/insertothercommandhere}}}}}
Note: The insertothercommandhere goes off first.
Thank you so much everyone! You helped me alot!
This command will create a command block with the command "/say Hi" inside it
/setblock ~ ~2 ~ minecraft:command_block 0 destroy {Command:/say Hi}
Actually you can...you can spawn in another command block using 1 command block
You can? how?
Well their's a bukkit plugin but other wise i don't think is possible
is said no you cannot do that but what i said erlyr will work the same
i dont think it is what i would do is make two command blocks and wire them together with redstone and then hook it up to a button that should work if it dosnt i can probaly think of something els
Im not talking about that. im wondering if you can put more than one command in one command block