Server I18n API 图标

Server I18n API

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.5.2-26.1.2
本资源为搬运资源,原资源地址: https://modrinth.com/mod/server-i18n-api
资源信息

Minecraft 版本: 26.1 26.1.1 26.1.2 26.2

平台: fabric neoforge

标签: library utility

资源介绍

Server I18n API

This is a server side only mod to provide i18n for server side only mods.

Language detection is automatically so players don't need to do anything.

This mod is not needed on client

Guide for developers

You need to put language jsons in data/<mod id>/lang/, in vanilla assets pack format.

The only API is ServerI18n class.

Examples:

Text.literal(ServerI18n.translate(player,"translation key","arg1","arg2"))

ServerI18n.broadcast(server,"translation key","arg1","arg2")

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
cobblemon mini blue

价格:0 墨喵币
下载量:0

查看详情
Trims Expanded

价格:0 墨喵币
下载量:0

查看详情
Sundered Aletharia

价格:0 墨喵币
下载量:0

查看详情
Golden Pies!

价格:0 墨喵币
下载量:0

查看详情