Unable to link language strings to identifiers used in behavior pack.
Partner Rank:
1
Summary:
Unable to link language strings to identifiers used in behavior pack.
Verification builds and Platforms:
Beta 1.13.0.2 release 2573090 Win10
Impact:
Unable to name entities, use individual action hints, use individual named boss health bars, name entity inventories, if a player is killed by an entity it will show “killed by unknown”.
Players may be confused when playing the maps and receive the slain by unknown messages, or are fighting a boss with a health bar that reads “Unknown”.
Repro Steps:
- Create a behavior pack with a hostile custom entity
- Create a resource pack, open the en_US.lang file and write the line;
entity.noxcrew:fw.idc_zombie.name=Infested IDC Zombie - Load the world, spawn the custom entity, then set gamemode to survival and be slain by the entity.
- Observed Results:*
The text appears, “[player] has been slain by unknown”
Expected Results:
The text “[player] has been slain by Infested IDC Zombie”
Screenshots/Videos attached:
Yes
Video: Being slain by the zombie
Picture 1: Text “slain by unknown”
Picture 2: Name of spawn egg linking to the identifier.
Notes:
When setting a spawn egg for the entity, the spawn egg uses the correct identifier and is able to be named in a lang file. If unnamed it returns the string (item.spawn_egg.entity.noxcrew:fw.idc_zombie.name), which is correct and shows that it makes a link with the custom identifier.
This link is not established when naming the entity.