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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.19.4 Pre-release 1
    • None
    • Unconfirmed
    • (Unassigned)

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

      }

            Unassigned Unassigned
            frodomax33 maxime morisset
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: