mojira.dev
MCPE-38136

Custom entities are labeled as 'Unknown' in various messages

Custom Entities are considered as 'Unknown' in game. 

Custom Entities in the lastest beta version not properly function. This will display 'Unknown'. This is considered as a bug for not showing the custom entity id name like entity.minecraft:my_custom_entity.name but they will shown as entity.unknown.name.

This happened in some situations where:

  • Killed by Custom Entity death message (Is 'PLAYERNAME' was slain by Unknown). (fixed, also see MCPE-158447)

  • Boss bar HUD, returns Unknown.

  • Container Inventory label, labeled Unknown in the Entity name panel as well.

  • Death of your tamed animal: "Unknown died"

Linked issues

Attachments

Comments 33

This also showing 'Unknown' when opening the entity's inventory.

What is your device name and operator?

Info Shown:
Device Name: OPPO A71k
Device Model: CPH1801
Device Operator: (Not confirmed)

Well, i didnt use any resource packs for texts, its just display Unknown or entity.unknown.name

I really feel uncomfortable when this issue has not been solved in the lastest release of 1.8.0.11 beta.

23 more comments

I'll upload a video and world for the devs to look at.
Note that boss health bars can take in lang strings, they are not an issue for this bug.

[media]

Still present in 1.21.90

image-20250618-130924.png

Present in Preview 26.30.29 and all versions prior

I have only tested with tameable custom entities' death messages.

This issue can be avoided using the Scripting API, but is highly inefficient in many potential cases.

Death by Fatal blow (generic):

Unknown was slain by Default Mob

Fatal blow dealt to other mob (generic):

Default Mob was slain by Custom Mob

Hopefully this helps someone respond. Addon containing a basic tameable entity that can be tamed with sugar. I threw this together in half an hour.

[media]

migrated

(Unassigned)

188629, 1168954, 1445561, 1342804

Confirmed

Multiple

1.17.10.23 Beta, 1.8.0.8 Beta, 1.8.0.11 Beta, 1.8.0.13 Beta, 1.11.0.7 Beta, , 1.21.44 Hotfix, 1.21.51 Hotfix, 26.1, 26.21 Hotfix, 26.40

1.13.0.18 Beta

Retrieved