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

Even if the entity is executed successfully, as long as there is an entity failure, the return of store success must be 0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 22w18a, 22w19a
    • Unconfirmed
    • (Unassigned)

      When using store success as / at, even if an entity is successfully executed, as long as one entity fails, 0 will be returned。

      Reappearance:

      1./scoreboard objectives add 123 dummy

      2./execute store success score @s 123 as @e if entity @s[type=player]

      Here, because there must be 1 player, the returned value should be 1, but even if the test passed in the chat, the scoreboard is still 0.

      PS:Here is only the simplified version of command. I know how to use other commands to achieve the same effect, but it also means more commands. Therefore, if this is repaired, the command can be simplified and more intuitive.

      #Using translation software, sorry#

            Unassigned Unassigned
            7232 seven a
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: