Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-161602

can't make triple or more nested quotation marks, in commands

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.14.4
    • None
    • hp laptop Windows 10
    • Unconfirmed
    • (Unassigned)

      Solved

       

      If I make a command for Command Block 1, that then summons a Command Block 2 that should summon Command Block 3.

      But the problem is the escape quote, \"

      I can't make it so that the backslash doesn't disappear in the second Command Block.

       

      /summon falling_block ~ ~ ~2 {BlockState:{Name:"minecraft:command_block"},TileEntityData:{Command:"/summon falling_block ~ ~ ~2 {BlockState:{Name:\"minecraft:command_block\"},TileEntityData:{Command:\"/summon falling_block ~ ~ ~2 {BlockState:{Name:\"minecraft:command_block\"},TileEntityData:{Command:\"say here\"},Time:1}\"},Time:1}"},Time:1}
      

      And if i place two \ in the second command 

      /summon falling_block ~ ~ ~2 {BlockState:{Name:"minecraft:command_block"},TileEntityData:{Command:"/summon falling_block ~ ~ ~2 {BlockState:{Name:\"minecraft:command_block\"},TileEntityData:{Command:\"/summon falling_block ~ ~ ~2 {BlockState:{Name:\\"minecraft:command_block\\"},TileEntityData:{Command:\\"say here\\"},Time:1}\"},Time:1}"},Time:1}
      

      It still doesn't work

      what do i do?

      solution

      was shown how it works it just three dashes not just two, like this

       

      /summon falling_block ~ ~ ~2 {BlockState:{Name:"minecraft:command_block"},TileEntityData:{Command:"/summon falling_block ~ ~ ~2 {BlockState:{Name:\"minecraft:command_block\"},TileEntityData:{Command:\"/summon falling_block ~ ~ ~2 {BlockState:{Name:\\\"minecraft:command_block\\\"},TileEntityData:{Command:\\\"say here\\\"},Time:1}\"},Time:1}"},Time:1}
      

            Unassigned Unassigned
            king-Bsoul Bjarne Crone Søllner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: