类名: creativeTab
{
"id" : "examplemod",
"icon" : "examplemod:someitem"
}
- id: 这是这个标签页的ID. 在构建方块或物品中, 此ID用于定义creativeTab属性. 这必须是唯一的.
- icon: 这是一个ItemStack, 用于展示创造模式标签页图标的物品.
在本地化文件中, 创造模式标签页的本地化名称是 itemGroup.<id>
, 在上面的示例中, 这个标签页的本地化名称是 itemGroup.examplemod
.
下面的是原版中的创造模式标签页的ID:
- brewing
- buildingBlocks
- combat
- decorations
- food
- inventory
- materials
- misc
- redstone
- search
- tools
- transportation