Mojira Archive
MCPE-183492

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

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

Unresolved

AvgZing

2024-06-28, 11:59 PM

2025-02-06, 04:30 AM

3

1

Confirmed

1.21.20.21 Preview - 1.21.51 Hotfix1.21.20.21 Preview, 1.19.40, 1.21.1 Hotfix, 1.21.2 Hotfix, 1.21.51 Hotfix

-