Mojira Archive
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"   }

}

Duplicate

maxime morisset

2023-02-25, 11:29 AM

2023-03-18, 01:33 PM

2023-03-18, 01:28 PM

0

1

Unconfirmed

(Unassigned)

1.19.4 Pre-release 1

-