精选条目

手册:minecraft:creative_category

来自Minecraft基岩版开发Wiki
数据驱动 物品 > minecraft:creative_category
minecraft:creative_category
附加包组件
组件所属
组件类型
1.16.100
加入版本

设置物品所属分组。

模式[编辑]

object "minecraft:creative_category" : opt
{
	string "parent"
	enumerated_value<"all", "construction", "nature", "equipment", "items", "commands", "none"> "category" : opt
}

结构[编辑]

  •  minecraft:creative_category:根对象。
    •  parent:设置该物品所属的分组(本地化键名)。
    •  category:设置该物品所属的分类,可以使用all、​construction、​nature、​equipment、​items、​commandsnone

示例[编辑]

"minecraft:creative_category": {
	"parent": "itemGroup.name.record",
	"category": "items"
}

枚举值[编辑]

分类[编辑]

数字ID 字符串 类别
0 all 全部分类
1 construction 建筑
2 nature 自然
3 equipment 装备
4 items 物品
5 commands 命令获取或放置
6 none 无分类

分组[编辑]

字符串 图标 组别
itemGroup.name.anvil 铁砧
itemGroup.name.arrow
itemGroup.name.axe
itemGroup.name.banner 旗帜
itemGroup.name.banner_pattern 旗帜图案
itemGroup.name.bed
itemGroup.name.boat
itemGroup.name.boots 靴子
itemGroup.name.buttons 按钮
itemGroup.name.candles 蜡烛
itemGroup.name.chalkboard‌ ‌[仅教育版] 黑板
itemGroup.name.chemistrytable 化学设备
itemGroup.name.chest 箱子
itemGroup.name.chestBoat 运输船
itemGroup.name.chestplate 胸甲
itemGroup.name.concrete 混凝土
itemGroup.name.concretePowder 混凝土粉末
itemGroup.name.cookedFood 熟食
itemGroup.name.copper
itemGroup.name.copperHorn[失效:1.19.0] 铜质号角
itemGroup.name.coral 珊瑚块
itemGroup.name.coral_decorations 珊瑚装饰
itemGroup.name.crop 农作物
itemGroup.name.door
itemGroup.name.dye 染料
itemGroup.name.element 元素
itemGroup.name.enchantedBook 附魔书
itemGroup.name.fence 栅栏
itemGroup.name.fenceGate 栅栏门
itemGroup.name.firework 烟花火箭
itemGroup.name.fireworkStars 烟火之星
itemGroup.name.flower
itemGroup.name.glass 玻璃
itemGroup.name.glassPane 玻璃板
itemGroup.name.glazedTerracotta 带釉陶瓦
itemGroup.name.goatHorn 山羊角
itemGroup.name.grass 地被植物
itemGroup.name.helmet 头盔
itemGroup.name.hoe
itemGroup.name.horseArmor 马凯
itemGroup.name.leaves 树叶
itemGroup.name.leggings 护腿
itemGroup.name.lingeringPotion 滞留药水
itemGroup.name.log 原木
itemGroup.name.minecart 矿车
itemGroup.name.miscFood 其他食物
itemGroup.name.mobEgg 刷怪蛋
itemGroup.name.monsterStoneEgg 被虫蚀的石头
itemGroup.name.mushroom 蘑菇
itemGroup.name.netherWartBlock 下界疣块
itemGroup.name.ore 矿石
itemGroup.name.permission‌ ‌[仅教育版] 权限方块
itemGroup.name.pickaxe
itemGroup.name.planks 木板
itemGroup.name.potion 药水
itemGroup.name.pressurePlate 压力板
itemGroup.name.rail 铁轨
itemGroup.name.rawFood 生食
itemGroup.name.record 唱片
itemGroup.name.sandstone 砂岩
itemGroup.name.sapling 树苗
itemGroup.name.seed 种子
itemGroup.name.shovel
itemGroup.name.shulkerBox 潜影盒
itemGroup.name.sign 告示牌
itemGroup.name.skull 头颅
itemGroup.name.slab 台阶
itemGroup.name.splashPotion 喷溅药水
itemGroup.name.stainedClay 陶瓦
itemGroup.name.sculk 幽匿
itemGroup.name.stairs 楼梯
itemGroup.name.stone 石头
itemGroup.name.stoneBrick 石砖
itemGroup.name.sword
itemGroup.name.trapdoor 活板门
itemGroup.name.walls
itemGroup.name.wood 木头
itemGroup.name.wool 羊毛
itemGroup.name.woolCarpet 地毯
[DEBUG] Compounds‌ ‌[仅开发者版] 化合物
[DEBUG] Products‌ ‌[仅开发者版] 化学物品

历史[编辑]

基岩版
1.16.100.571.16.100.57加入了minecraft:creative_category
1.17.201.17.20.23更新了该组件的语法
1.17.301.17.30.20将该组件的语法回退到了1.17.20.23版本以前。

漏洞[编辑]

关于“minecraft:creative_category”的漏洞在国际版中由漏洞追踪器维护,请在此报告漏洞。