This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hello guys,
Today I met a tricky problem with Minecart Command Block.
I use a sign to run a series of command by using Minecart Command Block, so I can run commands just by clicking the sign.
Codes runs well few days before, and problem met today with the same codes.
Here's the bunch of code:
/give @p sign 1 0 {BlockEntityTag:{Text2:"{text:\"Special!\",color:\"dark_gray\",bold:true,clickEvent:{action:\"run_command\",value:\"summon MinecartCommandBlock ~ ~-1 ~-2 {Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:FallingSand,TileID:157,Time:1},Command:},Command:say 1},Command:say 2},Command:say 3},Command:say 4},Command:say 5},Command:say 6},Command:say 7},Command:say 8},Command:say 9},Command:say 10},Command:say 11},Command:say 12},Command:say 13},Command:setblock ~ ~ ~ lava 7},Command:setblock ~ ~ ~ lava 7}\"}}"},display:{Name:"Special Sign",Lore:["Yay!", "Yayay!"]}}
Usuage of these code: Just put it into a command block, and activate it, then you'll get a sign for running commands.
Put the sign anywhere, and place redstone block according to the relative coordinate, like the image:
And finally, my chat will appears like this:
[@] 1
[@] 2
[@] 3
[@] 4
[@] 5
[@] 6
[@] 7
[@] 8
[@] 9
[@] 10
[@] 11
[@] 12
and so on... (yes no 13)
Can anyone help me to figure out why would this happen? And help me to cope with this tricky question? Thanks!
Well every command block has its " Name " which you can not remove.
If you will put a command block in an anvil and name it to " example ".
So everytime it will do /say hi
it will appear like this : [example] hi.
If you do not want to have so and you want to completely remove the brackets you have to use a tellraw command.
/tellraw @p test
And it will appear in the chat like this :
test
It requires raw json message . If you do not know how to do that, simply find a minecraft tellraw generator, there are many of those.
For the sign, I am pretty sure there is not enough space for the whole argument.
Hope I helped !
Yes I know tellraw too
I uses setblock ~ ~ ~ lava 7 to remove Minearts with Command Block
But the question I'm concerning about is that it doesn't execute 'say 13' and 'setblock ~ ~ ~ lava 7', which resulting in the first 12 commands loop
Hello guys,
Today I met a tricky problem with Minecart Command Block.
I use a sign to run a series of command by using Minecart Command Block, so I can run commands just by clicking the sign.
Codes runs well few days before, and problem met today with the same codes.
Here's the bunch of code:
/give @p sign 1 0 {BlockEntityTag:{Text2:"{text:\"Special!\",color:\"dark_gray\",bold:true,clickEvent:{action:\"run_command\",value:\"summon MinecartCommandBlock ~ ~-1 ~-2 {Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:FallingSand,TileID:157,Time:1},Command:},Command:say 1},Command:say 2},Command:say 3},Command:say 4},Command:say 5},Command:say 6},Command:say 7},Command:say 8},Command:say 9},Command:say 10},Command:say 11},Command:say 12},Command:say 13},Command:setblock ~ ~ ~ lava 7},Command:setblock ~ ~ ~ lava 7}\"}}"},display:{Name:"Special Sign",Lore:["Yay!", "Yayay!"]}}
Usuage of these code: Just put it into a command block, and activate it, then you'll get a sign for running commands.
Put the sign anywhere, and place redstone block according to the relative coordinate, like the image:
And finally, my chat will appears like this:
[@] 1
[@] 2
[@] 3
[@] 4
[@] 5
[@] 6
[@] 7
[@] 8
[@] 9
[@] 10
[@] 11
[@] 12
[@] 1
[@] 2
and so on... (yes no 13)
Can anyone help me to figure out why would this happen? And help me to cope with this tricky question? Thanks!
Well every command block has its " Name " which you can not remove.
If you will put a command block in an anvil and name it to " example ".
So everytime it will do /say hi
it will appear like this : [example] hi.
If you do not want to have so and you want to completely remove the brackets you have to use a tellraw command.
/tellraw @p test
And it will appear in the chat like this :
test
It requires raw json message . If you do not know how to do that, simply find a minecraft tellraw generator, there are many of those.
For the sign, I am pretty sure there is not enough space for the whole argument.
Hope I helped !
Yes I know tellraw too
I uses setblock ~ ~ ~ lava 7 to remove Minearts with Command Block
But the question I'm concerning about is that it doesn't execute 'say 13' and 'setblock ~ ~ ~ lava 7', which resulting in the first 12 commands loop