本组件为Bloxd.io中文Wiki设计,用于物块/物品的信息展示。
使用方法:
[[include component:item-information-bar 属性]]
[[include component:item-information-bar 属性|另一个属性]]
信息栏内属性若空置则不显示其所在栏。
使用方法:
基础格式:
[[include component:inven-slot type=类别
| image-x=图片链接
| image-y=图片链接
| image-z=图片链接
| image=图片链接
| description=1
| subdescription=2]]
附魔
| tier=附魔等级(1~5)
| enchantColor=自定义附魔颜色(需tier设置为6)
| enchantDura=自定义附魔动画周期(需tier设置为6)
选用属性,用于取消物品栏样式:
nobackground=*
可用类别(type):
- Block
- Slab
- Item
- Gun
其中image-x~z仅在Block和Slab中显示,分别对应物块的左、上、右面。image属性则可用来设置所有贴图。同时,本组件还提供了错误材质,在image等图片相关属性错误时将会显示。
优先级:image-x~z > image > 错误材质
错误贴图如下:
{$name}
使用方法:
基础格式:
[[include component:inven-slot type=类别
| image-x=图片链接
| image-y=图片链接
| image-z=图片链接
| image=图片链接
| description=3
| subdescription=4]]
附魔
| tier=附魔等级(1~5)
| enchantColor=自定义附魔颜色(需tier设置为6)
| enchantDura=自定义附魔动画周期(需tier设置为6)
选用属性,用于取消物品栏样式:
nobackground=*
可用类别(type):
- Block
- Slab
- Item
- Gun
其中image-x~z仅在Block和Slab中显示,分别对应物块的左、上、右面。image属性则可用来设置所有贴图。同时,本组件还提供了错误材质,在image等图片相关属性错误时将会显示。
优先级:image-x~z > image > 错误材质
错误贴图如下:
{$name}
- 名称
- {$name}
- 类型
- {$slot-type}
- 破坏用时
- {$ttb}
- 基础伤害
- {$damage}
- 二级伤害
- {$secdamage}
- 堆叠上限
- {$stack}
- 分解产物
- {$salvage}
- {$extrarowname1}
- {$extrarow1}
- {$extrarowname2}
- {$extrarow2}
- {$extrarowname3}
- {$extrarow3}
- {$extrarowname4}
- {$extrarow4}
- ID
- {$id}
- {$extrainnername}
- {$extrainnerinfo}
建议堆叠上限默认999,能不能设置
帖文预览:
关闭预览