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

Fluid predicate is inconsistent with block predicate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.17 Pre-release 3, 1.17 Pre-release 4
    • None
    • Confirmed
    • (Unassigned)

      In 1.17-pre1, item predicates and block predicates were changed from only accepting a single ID to an array of IDs. Fluid predicates however were left unchanged, leading to extremely inconsistent behavior. Apart from fluid predicates not having an "nbt" property, they were exactly consistent with block predicates.

      Example predicate showcasing the inconsistency.

      {
        "condition": "minecraft:location_check",
        "predicate": {
          "block": {
            "blocks": [
              "minecraft:water_cauldron",
              "minecraft:lava_cauldron"
            ],
            "state": {
              "level": 1
            }
          },
          "fluid": {
            "fluid": "minecraft:water",
            "state": {
              "level": 1
            }
          }
        }
      }
      

            Unassigned Unassigned
            Misoloo [Helper] Misode
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: