跳到正文

All-Chinese Instructions

作者:txzz_lff

Chinese commands, selectors, TAB completion, and function paths for Minecraft 1.20.1 Forge. Extensible library with English compatibility.

收藏

介绍

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

All-Chinese Instructions

All-Chinese Instructions, also known as 中文指令, brings Chinese command syntax to Minecraft Java 1.20.1 and provides an extensible library for other Forge mods.

Features

  • Chinese aliases for vanilla commands and subcommands, all 45 game rules, and supported values from 13 argument types.
  • Chinese names for all 5 selectors and all 21 selector filter options. Sort orders, game modes, and advancement booleans also support Chinese values.
  • TAB completion for Chinese commands, supported arguments, selectors, filter options, and Chinese function resource names.
  • Chinese commands in chat, command blocks, and UTF-8 .mcfunction files. Function names, folders, namespaces, and function tags can use Chinese characters.
  • An extensible API through RegisterChineseTranslationsEvent, plus custom aliases in config/allchineseinstructions/translations.json.
  • English commands remain available, including mixed Chinese and English syntax. Vanilla permissions and target restrictions still apply.

Requirements and installation

Minecraft Java 1.20.1, Forge 47.4.10 or a later 47.x version, and Java 17 are required. Place the JAR in the instance’s mods folder. For multiplayer, install the mod on the server and every client. No additional mod dependencies are required.

Examples

/游戏模式 创造 选择自身
/游戏规则 保留物品栏 真
/给予 选择所有玩家 minecraft:diamond 1
/执行 作为 选择所有实体[类型=minecraft:armor_stand,距离=..10,数量=1,排序=最近] 运行 标签 选择自身 添加 命中
/函数 示例:开场

The function example requires a data pack containing data/示例/functions/开场.mcfunction. Save the file as UTF-8, omit the leading / from commands inside it, and run /重载 after installing the data pack. The mod does not create example functions automatically.

Chinese selectors

Vanilla Chinese
@e 选择所有实体 — all entities
@a 选择所有玩家 — all players
@p 选择最近玩家 — nearest player
@r 选择随机玩家 — random player
@s 选择自身 — command executor; also 选择自己 or 选择执行者

Type /游 and press TAB to complete /游戏模式. Type 选择 at a selector argument to see Chinese selectors, or 选择所有实体[ to see filter options.

Existing resource IDs such as minecraft:diamond, NBT fields, JSON keys, and ASCII punctuation retain their vanilla spelling. Chinese resource names support common CJK characters, Extension A, compatibility ideographs, and 〇; rare characters requiring UTF-16 surrogate pairs, including Extension B, are not currently supported.

Version 1.0.0 has passed 44 unit tests and 21 Forge GameTests. Graphical input-method interaction, physical TAB-key interaction, and real multiplayer connections have not been manually verified.

License: MIT. Use, modification, distribution, and commercial use are permitted when the copyright and license notices are retained. Third-party components, including Minecraft and Forge, remain subject to their own terms.

常见问题

All-Chinese Instructions 支持哪些 Minecraft 版本?

All-Chinese Instructions 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

All-Chinese Instructions 怎么安装?

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

评论

登录后评论和评分

txzz_lff 的其他作品

查看全部 →