-2

I used this command:

/summon falling_block ~ ~1 ~ 
{Block:command_block,Time:1,TileEntityData:
{Command:"/fill ~ ~-1 ~-1 ~ ~50 ~-1 redstone_block"},Passengers:
[{id:falling_block,Block:redstone_block,Time:1}]}

But instead of summoning a command block with the command stated, it summoned a falling stone block.

Using Minecraft 1.12.2

7
  • Try again with the spaces and linebreaks. That often messes up commands. And try without TileEntityData and Passengers first, shorter/simpler commands are easier to debug. Nov 9, 2018 at 8:12
  • @FabianRöling What do you mean "with the spaces and linebreaks? I tried the command /summon falling_block ~ ~1 ~ {Block:command_block,Time:1} but it still summons a stone block Nov 9, 2018 at 9:36
  • You put linebreaks into the command here, that either puts spaces into the command if you copy-paste it or does other weird thins. Better put everything in one line, don't worry, it will automatically create a scroll bar. Also, I can't test it right now, but try quotation marks around command_block. Nov 9, 2018 at 11:40
  • @FabianRöling Nope didn't work still summoned as a stone block Nov 9, 2018 at 14:52
  • I'll test it myself later today or tomorrow. The problem is that the wiki is already changed to 1.13, so it's hard to get 1.12 info out of it. Until then, try putting minecraft: in front of command_block, but that shouldn't be necessary. Nov 9, 2018 at 15:06

1 Answer 1

0

I assume that the command block does not think that you specified a block. Since the item value of 1 is a stone block, the command block defaulted to that block.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .