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

Test blocks are restricted to one within a block-based structure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 25w03a
    • None
    • Confirmed
    • Debug
    • Low
    • Platform

      Minecraft snapshot 25w03a introduces test blocks which can be placed within the structure templates representing a game test. However, the various messages and behavior surrounding these blocks are inconsistent regarding whether multiple can be placed within a structure.

      The changelog mentions the following:

      • start: Triggers a redstone pulse when the test starts
      • log: Logs a message to the log file when powered by redstone
      • fail: Fails the test when powered by redstone
      • accept: Completes the test when powered by redstone

      Block-based tests are required to have at least one start block and one accept block in the structure.

      The test block interface considers accept mode to 'Accept success for (part of) a test' and start mode to be 'The starting point for a test'. These descriptions imply that accept mode would be allowed in multiple blocks and that start mode would always be a single block.

      When running tests, start and accept modes must have exactly one test block in the structure template. Log and fail modes have no restriction on the count.

      In summary:

      Mode Changelog Message Actual Expected
      Start ≥1 1 1 ≥1
      Log ≥0 ≥0 ≥0 ≥0
      Fail ≥0 ≥0 ≥0 ≥0
      Accept ≥1 ≥1 1 ≥1

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

              Created:
              Updated:
              CHK: