mojira.dev
MC-311029

Entity "equipment" predicate doesn't support the saddle slot

The equipment predicate within the entity predicate does not support the saddle slot, but supports all other slots.

How to reproduce

  1. Spawn a pig

  2. Run this command:

    /execute as @e[type=pig] if predicate {type:"entity_properties",entity:"this",predicate:{"equipment":{saddle:{items:"saddle"}}}} run say I have a saddle

Expected result

No output, since the pig does not have a saddle

Observed result

Pig says “I have a saddle”

Since the saddle key is not supported, it was simply ignored.

Comments 2

Hi!
Thank you for your report! 

However, this issue has been temporarily closed as Awaiting Response.

Could you please provide more details or/and media files. As we have no repro of this issue. 

Also, just a reminder, to make your bug report as effective as possible, please try and include the following steps to reproduce the problem: 

Steps to Reproduce: 

  1.  

  2.  

  3.  

Observed Results: 

(Briefly describe what happens) 

Expected Results: 

(Briefly describe what should happen) 

If your ticket does not look like this example, then it's likely to be closed as Incomplete. 

This ticket will automatically reopen when you reply. Thanks!

Quick Links: 
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Added repro steps, reopened and confirmed

isXander

(Unassigned)

Confirmed

26.2

Retrieved