VintageTag
VintageTag 为 Minecraft 1.12.2 添加了一个简单的标签系统,支持物品、流体和方块标签。
注册标签
在 FMLLoadCompleteEvent 阶段,标签系统按顺序执行以下步骤:
- 同步 ore dictionary(矿石词典)数据
- 从所有模组加载标签(
src/main/resources/data/tags/<type>/) - 从配置文件加载标签(
config/tags/<type>/)
其中,<type> 可以是 item、fluid 或 block 之一。
JSON 格式与官方 1.13+ 的标签系统类似。详情请参见 TagLoader。
命令系统
/tag info // 显示标签统计信息(需要权限等级 1)
/tag reload // 重新加载标签(需要权限等级 2)
工具提示
按住 Shift 可查看物品、流体和方块的标签信息。例如:
- 在水桶上按住 Shift 将显示该水桶的物品标签以及水的流体标签。
- 在石头(一种具有方块形态的物品)上按住 Shift 将显示石头的物品标签和方块标签(方块标签不区分元数据)。
标签类型采用颜色编码:
- 白色:物品标签
- 蓝色:流体标签
- 黄色:方块标签
如果物品不包含任何类型的标签,则会显示“无标签”消息。
网络同步
当玩家登录或使用 /tag reload 命令时,服务器数据将立即同步到客户端。
配置选项
// 启用扫描配置文件中的标签
B:enableConfigScanner=true
// 启用扫描模组中的标签
B:enableModScanner=true
// 启用从矿石词典同步标签
B:enableOreSync=true
// 启用标签工具提示
B:enableTooltip=true
VintageTag
VintageTag adds a simple tag system to Minecraft 1.12.2, supporting item, fluid, and block tags.
Registering Tags
During the FMLLoadCompleteEvent phase, the tag system performs the following steps sequentially:
- Synchronize ore dictionary data
- Load tags from all mods (
src/main/resources/data/tags/<type>/) - Load tags from configuration files (
config/tags/<type>/)
Here, <type> can be one of item, fluid, or block.
The JSON format is similar to the official 1.13+ tag system. For details, see TagLoader.
Command System
/tag info // Display tag statistics (requires permission level 1)
/tag reload // Reload tags (requires permission level 2)
Tooltip
Hold Shift to view tag information for items, fluids, and blocks. For example:
- Holding Shift on a water bucket will show the bucket's item tags and water's fluid tags.
- Holding Shift on stone (an item that has a block form) will show the stone's item tags and block tags (block tags do not distinguish metadata).
Tag types are color-coded:
- White: item tags
- Blue: fluid tags
- Yellow: block tags
If the item contains no tags of any type, a "No tags" message will appear.
Network Synchronization
When a player logs in or uses the /tag reload command, the server's data is immediately synchronized to the client.
Configuration Options
// Enable scanning tags in configuration files
B:enableConfigScanner=true
// Enable scanning tags in mods
B:enableModScanner=true
// Enable synchronizing tags from the ore dictionary
B:enableOreSync=true
// Enable tag tooltips
B:enableTooltip=true
下载 VintageTag
下载 VintageTag
下载 VintageTag
下载 VintageTag
下载 VintageTag
下载 VintageTag
下载 VintageTag
下载 VintageTag
下载 VintageTag
下载 VintageTag
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
评论 0
登录后参与评分
还没有评论,来抢沙发吧