mojira.dev
MC-305562

Enchantment Predicate always results in success for Saddle Slot

As the title suggests asking for an enchantment on the saddle slot in a predicate always results in a success even tho the affected entity has no enchantment or even a saddle.


Predicate used for testing:

{
  "condition": "minecraft:entity_properties",
  "entity": "this",
  "predicate": {
    "equipment": {
      "saddle": {
        "predicates": {
          "minecraft:enchantments": [
            {
              "enchantments": "minecraft:mending",
              "levels": {
                "min": 1
              }
            }
          ]
        }
      }
    }
  }
}
{
  "condition": "minecraft:entity_properties",
  "entity": "this",
  "predicate": {
    "equipment": {
      "saddle": {
        "predicates": {
          "minecraft:enchantments": [
            {
              "enchantments": "minecraft:mending",
              "levels": {
                "min": 1
              }
            }
          ]
        }
      }
    }
  }
}

Comments 0

No comments.

Ron

(Unassigned)

Unconfirmed

(Unassigned)

1.21.11

Retrieved