-
-
Notifications
You must be signed in to change notification settings - Fork 3
Localized Entity Name
When an entity gets assigned a custom name, Minecraft directly displays the contents in its CustomName NBT tag as a String.
Localizator changes this behaviour to make Minecraft try and translate CustomName contents.
With this, now you can use a language key inside an Entity's CustomName NBT tag!
So, instead of doing this:
{
CustomName: "Eagle - The Founder"
}
you can do this:
{
CustomName: "entity.dregorarl.Eagle.name"
}
Localizator Mixins into the Neat mod, so it also translates entity names.
This also works for bosses! Try it out!
/summon minecraft:wither ~ ~ ~ {CustomName:"entity.localizator.KameiB.name"}

Boss with a localized CustomName
Or rename a mob using a Name Tag with a language key as its value.


If you want to keep support for Vanilla clients, there's a cheezy way to accomplish the desired result:
Make a lang key with the exact name that your Entity has.
That's it.
That's what I had to do to translate bosses when connected to a server, and it also works for Lycanite's event creatures, like Satan Claws, etc.
So, your language key would look like this:
Satan Claws=SatΓ‘n Claus
Trust me, it works lol.