跳到正文

[DISCONTINUED] Localized Entity Name

作者:KameiB

Entities with localized Custom Names

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

This mod was just the 3rd step to my final goal: Localizator.

Therefore, this mod won’t get updates, bug fixes or anything.

Instead of downloading this mod, download Localizator. It does what this mod does, even better and much much more!

 

 

This is a Client side mod, powered by Mixin which enables the use of language key inside Entities’ CustomName tag.

The feature language-aware modpack creators need! (You are free to include this in your modpack)

 

 You’ll need to add the Mixin Bootstrap into your mods folder (only if your modpack doesn’t already have it) so Mixins can load up!

 

 

Supports mod: “Neat“!

Supports "Neat"!

 

You worked so hard on your dungeons and creating special bosses or mini bosses,

 

-either using commands or mod’s config files (like Lycanites Mobs, Dregora, etc.)-

but your international users don’t understand the meaning of those names…

How horrible!

 

Normally, modpack creators use the “CustomName” tag like this:

{CustomName:”Eagle – The Founder“}

Because Vanilla takes CustomName’s value as plain text, so there’s no way to make it translatable.

 

But with this Mixin, you can assign a language key to the CustomName tag and it’ll get translated depending on your user’s language.

{CustomName:”entity.dregorarl.Eagle.name“}

 

And the best part is, you can format the text inside the lang key and it’ll get displayed!

 

If you want to immediately try out this Mixin, run this command:

/summon minecraft:wither ~ ~ ~ {CustomName:entity.locentityname.KameiB.name}

 

 

Remember to add your custom lang file with your language keys into the resources folder or Resource Pack!

 

常见问题

[DISCONTINUED] Localized Entity Name 支持哪些 Minecraft 版本?

[DISCONTINUED] Localized Entity Name 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

[DISCONTINUED] Localized Entity Name 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

KameiB 的其他作品

查看全部 →