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

"can_see_sky" predicate does not work when the player is on the boat.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.21
    • None
    • Unconfirmed
    • Data Packs

      Steps to Reproduce:

      Step 1- Create a predicate which includes "can_see_sky" condition. It would look like that:

      {
          "condition": "minecraft:location_check",
          "offsetX": 0,
          "offsetY": 0,
          "offsetZ": 0,
          "predicate": {
            "can_see_sky": true
          }
        }

      Step 2- Ride a boat and use this command when there are no blocks above you:

      /execute if predicate minecraft:exposed_to_sky

      Observed Results:

      The command failed.

      Expected Results:

      The command should have passed.
       
       

            Unassigned Unassigned
            EverettOlmedi EverettOlmedi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: