Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-183492

Adding "minecraft:npc" component to player.json hides nametag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.20.21 Preview, 1.19.40, 1.21.1 Hotfix, 1.21.2 Hotfix
    • None
    • Confirmed
    • Multiple

      Steps to Reproduce:

      1. Add the code below to a behavior pack's player.json components (Alternatively, download the pack uploaded here)
      2. Add the behavior pack to the world
      3. Join in multiplayer and look for another player

      Observed Results:
      The other player's nametag is invisible.

      Expected Results:
      The other player's nametag is visible.

       

                  "minecraft:npc": {},
                  "minecraft:interact": {
                      "interactions": [
                          {
                              "on_interact": {
                                  "filters": {
                                      "all_of": [
                                          {
                                              "test": "is_family",
                                              "subject": "other",
                                              "value": "player"
                                          }
                                      ]
                                  }
                              }
                          }
                      ]
                  },

            TheRoyalBlock AvgZing
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: