添加自定义物品属性,目前仅包含“水下”谓词(submerged predicate),可在玩家处于水下时改变物品的显示状态。更多属性即将推出。
示例使用 Weskerson's torches


使用方法: 在
minecraft/items
中添加以下配置:
{
"model": {
"type": "minecraft:condition",
"property": "rj:submerged",
"on_true": {
"type": "minecraft:model",
"model": "minecraft:item/underwater_item"
},
"on_false": {
"type": "minecraft:model",
"model": "minecraft:item/normal_item"
}
}
}
Adds custom item properties, for now it is only submerged predicate that lets items change when the player is underwater. More properties coming soon.
example with Weskerson's torches


how to use on
minecraft/items
{
"model": {
"type": "minecraft:condition",
"property": "rj:submerged",
"on_true": {
"type": "minecraft:model",
"model": "minecraft:item/underwater_item"
},
"on_false": {
"type": "minecraft:model",
"model": "minecraft:item/normal_item"
}
}
}
版本游戏版本平台发布时间本站下载
正式版
1.0.2-1.21.1
RPPutils 1.0.2-1.21.1
1.21.1 Fabric 11 个月前 ·
0
1.21.1
Fabric
11 个月前
0
下载 RPPutils
正式版
1.0.2-1.21.8
RPPutils 1.0.2-1.21.8
1.21.8 Fabric 11 个月前 ·
0
1.21.8
Fabric
11 个月前
0
下载 RPPutils
正式版
1.0.2
RPPutils 1.0.2
1.21.11 Fabric 11 个月前 ·
0
1.21.11
Fabric
11 个月前
0
下载 RPPutils
正式版
1.0.1
RPPutils 1.0.1
1.21.11 Fabric 11 个月前 ·
0
1.21.11
Fabric
11 个月前
0
下载 RPPutils
正式版
1.0.0
RPPutils 1.0.0
1.21.11 Fabric 11 个月前 ·
0
1.21.11
Fabric
11 个月前
0
下载 RPPutils
1.0.2-1.21.1
正式版
2025-12-23
移植到 1.21.1
并毫无理由地添加了一个旋转的标志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
鞘翅纹饰Elytra Trims
KikuGie
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
装饰装备
477
模组
Woot Revived
pharuxtan
一个用于收集生物掉落物的多区块模组。
生物科技
353
模组
玉Jade ?
Snownee
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
实用前置
344
模组
Xaero的小地图
thexaero
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
冒险交通
242
模组
物品管理器Just Enough Items (JEI)
mezz
查看物品与配方
前置实用
240
模组
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
239
评论 0
登录后参与评分
还没有评论,来抢沙发吧