CustomModelDataViewer 是一款轻量级模组,为所有使用 1.21.4+ 新增的 CustomModelDataComponent 的物品添加了专用的创造模式标签页。它会自动检测任何引用了 customModelData 字符串的物品(如示例 .json 片段所示),并将它们集中整理在一个便捷的位置。这有助于资源包制作者和模组开发者快速查看、测试和管理自定义物品模型,无需在标准标签页或多个文件中进行搜索。
示例物品:
assets/minecraft/items/brown_dye.json
{
"model": {
"type": "minecraft:select",
"property": "minecraft:custom_model_data",
"cases": [
{
"when": "old_hat",
"model": {
"type": "minecraft:model",
"model": "skyrealm:item/hats/old_hat",
"tints": [
{
"type": "minecraft:custom_model_data",
"default": 15702017
}
]
}
}
],
"fallback": {
"type": "minecraft:model",
"model": "minecraft:item/brown_dye"
}
}
}
CustomModelDataViewer is a lightweight mod that adds a dedicated creative tab for all items using the new 1.21.4+ CustomModelDataComponent. It automatically detects any items referencing a customModelData string (like in the example .json snippet) and organizes them in one convenient location. This makes it easier for resource pack creators and modders to quickly review, test, and manage custom item models without searching through standard tabs or multiple files.
Example Item:
assets/minecraft/items/brown_dye.json
{
"model": {
"type": "minecraft:select",
"property": "minecraft:custom_model_data",
"cases": [
{
"when": "old_hat",
"model": {
"type": "minecraft:model",
"model": "skyrealm:item/hats/old_hat",
"tints": [
{
"type": "minecraft:custom_model_data",
"default": 15702017
}
]
}
}
],
"fallback": {
"type": "minecraft:model",
"model": "minecraft:item/brown_dye"
}
}
}
下载 Custom Model Data Viewer
下载 Custom Model Data Viewer
下载 Custom Model Data Viewer
下载 Custom Model Data Viewer
下载 Custom Model Data Viewer
下载 Custom Model Data Viewer
下载 Custom Model Data Viewer
下载 Custom Model Data Viewer
下载 Custom Model Data Viewer
下载 Custom Model Data Viewer
来自当前主分支(d09d49c)的 Fabric 与 Minecraft 26.3 全新构建版本。
自 3.0.3+26.3 以来,游戏内容与生产代码均未发生更改。本次发布新增了对可装备物品资产 ID 及报告中的数值自定义模型数据变体的回归测试覆盖。
本地干净构建与 Fabric 客户端游戏测试均已通过。需要 Java 25、Fabric API 以及 Fabric Language Kotlin。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
评论 0
登录后参与评分
还没有评论,来抢沙发吧