Which NPC is this
The name of the NPC an entity is the body of, if it is one.
A Minecraft element (a value) in Plugins. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player right-clicks an entity → Which NPC is this → If Found → Open a menu.
Also called
npc from entity, is npc, which npc, npc name of
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- Entity
What it gives back
- Name
- Found