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

Command Blocks not using the CommandChainLength value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.13
    • None
    • Unconfirmed

      I entered this command here [272 chars] to a command block:

      execute at @e[tag=wp,limit=1] if block ~ ~-1 ~ minecraft:diamond_block if block ~1 ~-1 ~ minecraft:gold_block if block ~-1 ~-1 ~ minecraft:gold_block if block ~ ~-1 ~1 minecraft:emerald_block if block ~ ~-1 ~-1 minecraft:emerald_block run tag @e[tag=wp,limit=1] remove dlt

      This crash happened:

      My MaxCommandChainLength is set to 65536 characters.

      This is a 1.13 crash bug that is not listed in search.

      That said, what is our command limit? 256 or 65536?

       This same command from 1.12.2 (which is longer [359 chars] with the old syntax) worked properly:

      execute @e[tag=warp] ~ ~ ~ detect ~ ~-1 ~ diamond_block 0 execute @e[tag=warp,c=1] ~ ~ ~ detect ~ ~-1 ~1 gold_block 0 execute @e[tag=warp,c=1] ~ ~ ~ detect ~ ~-1 ~-1 gold_block 0 execute @e[tag=warp,c=1] ~ ~ ~ detect ~1 ~-1 ~ emerald_block 0 execute @e[tag=warp,c=1] ~ ~ ~ detect ~-1 ~-1 ~ emerald_block 0 scoreboard players tag @e[tag=warp,c=1] remove delete

            Unassigned Unassigned
            I3ladeDragon Nikolas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: