mojira.dev
MC-260541

@e[team=] doesn't work for interaction and text_display entities but works inside predicate

The "team" condition inside @e doesn't work for the new minecraft:interaction and minecraft:text_display, and for the new non-mob entities.

 

But it is inconsistent with predicates where it works like in this example (advancement with predicate condition):

{
  "criteria": {
    "menu_left_click": {
      "trigger": "minecraft:player_hurt_entity",
      "conditions": {
        "entity": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate":

{               "type": "minecraft:interaction",               "team": "mcmenu.elements"             }

          }
        ]
      }
    }
  },
  "rewards":

{     "function": "mcmenu:event/left_click"   }

}

Linked issues

Comments 2

user-f2760

Duplicate of MC-108495.

Arisa Bot

Thank you for your report!
We're tracking this issue in MC-108495, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

maxime morisset

(Unassigned)

Unconfirmed

(Unassigned)

1.19.4 Pre-release 1

Retrieved