Server I18n API 图标

Server I18n API

作者:rebot | 分类:模组

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

Minecraft 版本: 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1

平台: fabric

标签: 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")

📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
TaterCart

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

查看详情
Eternal Attributes

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

查看详情
MhFFa30109

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

查看详情
Simply More

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

查看详情