本站文本内容除另有声明外,均在知识共享 署名-非商业性使用-相同方式共享 3.0 协议下提供。(详情…本站文本内容除另有声明外,均在知识共享 署名-非商业性使用-相同方式共享 3.0 协议下提供。(详情…中文Minecraft Wiki是完全公开的。请勇于扩充与修正内容!中文Minecraft Wiki是完全公开的。请勇于扩充与修正内容!Minecraft中文Wiki微博正在更新!或许有兴趣去看看Minecraft中文Wiki微博正在更新!或许有兴趣去看看想与其他用户进行编辑上的沟通?社区专页正是为此创建的。想与其他用户进行编辑上的沟通?社区专页正是为此创建的。翻译或创建页面之前,不妨看看译名标准化Wiki条例页面。翻译或创建页面之前,不妨看看译名标准化Wiki条例页面。需要管理员的协助?在管理员告示板留言也许可以帮到您。需要管理员的协助?在管理员告示板留言也许可以帮到您。

标签

来自Minecraft Wiki
跳转至: 导航搜索
Information icon.svg
此特性为Java版基岩版独有。

数据包中的标签(Tag)允许玩家使用JSON文件将物品方块流体实体类型函数组合在一起。

用途[编辑 | 编辑源代码]

为了使用方块、物品、流体、实体类型或函数标签,JSON文件必须分别放置于数据包的data/(命名空间)/tags/blocksdata/(命名空间)/tags/itemsdata/(命名空间)/tags/fluidsdata/(命名空间)/tags/entity_typesdata/(命名空间)/tags/functions目录下。

游戏本身也使用了这些标签。原版方块标签被用于各种方块属性。原版物品标签被用于各种物品属性、原版进度文件与原版配方文件。原版实体类型标签被用于各种生物的属性。在#标签列表部分可以查看它们的用途。

但是并不存在原版函数标签,因为原版中不存在函数,不过游戏会读取minecraft命名空间下的特定函数标签。

文件结构[编辑 | 编辑源代码]

  • (数据包根目录)
    • data
      • (命名空间)
        • tags
          • blocks
            • (名称).json
          • entity_types
            • (名称).json
          • fluids
            • (名称).json
          • functions
            • (名称).json
          • items
            • (名称).json

方块标签[编辑 | 编辑源代码]

方块标签可以在用命令测试方块时以#(命名空间ID)的形式调用。只要方块满足了该标签中定义的任何一个方块,命令就会测试通过。

物品标签[编辑 | 编辑源代码]

物品标签可以在用命令测试物品时以#(命名空间ID)的形式调用。也可以在配方或进度中用"tag": "(命名空间ID)"的格式使用。只要物品满足了该标签中定义的任何一个物品,测试就会通过。

实体类型标签[编辑 | 编辑源代码]

实体类型标签可以在type实体选择器参数以及战利品表条件中以#(命名空间ID)的形式使用。只要物品满足了该标签中定义的任何一个物品,测试就会通过。

函数标签[编辑 | 编辑源代码]

函数标签可以在/function命令中以#(命名空间):(路径)的形式调用。所有在该标签中指定的函数都会按照它们第一次出现的顺序执行。就算一个函数在标签以及子标签中被多次引用,它也只会被执行意思。

另外,所有在minecraft:tick标签中标记的函数将会在每刻的开始执行,在minecraft:load标签中标记的函数将会在服务器加载及重载后的第1刻开始执行1次。

JSON格式[编辑 | 编辑源代码]


  • 根标签。

    •  replace:这个标签是否应该完全覆盖来自较低优先级数据包同命名空间下的同名标签。当设定为false时则为为此标签进行补充。默认为false

    •  values:一个物品、方块或函数列表。可以引用同类型的其他标签,但是不能循环引用。

      • :一个物品、方块、流体、实体类型或函数的命名空间ID。格式应为(命名空间):(名称)

      • :另一个同类型的标签的ID。格式应为#(命名空间):(路径)

标签列表[编辑 | 编辑源代码]

方块[编辑 | 编辑源代码]

标签名称 用途
minecraft:acacia_logs minecraft:acacia_log, minecraft:acacia_wood, minecraft:stripped_acacia_log, minecraft:stripped_acacia_wood -
minecraft:anvil minecraft:anvil、minecraft:chipped_anvil、minecraft:damaged_anvil
  • 用来决定哪些方块能够用来打开铁砧的GUI界面。对其他方块无效,但是将默认元素移出该标签会使得GUI不出现。
  • 用来决定其下落方块形式是否伤害实体,用于死亡消息。
  • 用来判断一个方块是否会在使用或落地时“破坏”。在标签上添加可以自然掉落的块不会使它们在自然掉落时有机会在落地时消失。例如,添加minecraft:sand将不会使自然生成的落沙在落地时会被破坏,但是通过命令生成的落沙将有机会破碎。
  • 用于从掉落中的实体中读取NBT。如果该实体没有HurtEntitiesNBT标签,则将hurtEntities设置为true
  • 用来决定方块是否有机会被通过铁砧GUI破损。
minecraft:banners minecraft:white_banner、minecraft:orange_banner、minecraft:magenta_banner、minecraft:light_blue_banner、minecraft:yellow_banner、minecraft:lime_banner、minecraft:pink_banner、minecraft:gray_banner、minecraft:light_gray_banner、minecraft:cyan_banner、minecraft:purple_banner、minecraft:blue_banner、minecraft:brown_banner、minecraft:green_banner、minecraft:red_banner、minecraft:black_banner、minecraft:white_wall_banner、minecraft:orange_wall_banner、minecraft:magenta_wall_banner、minecraft:light_blue_wall_banner、minecraft:yellow_wall_banner、minecraft:lime_wall_banner、minecraft:pink_wall_banner、minecraft:gray_wall_banner、minecraft:light_gray_wall_banner、minecraft:cyan_wall_banner、minecraft:purple_wall_banner、minecraft:blue_wall_banner、minecraft:brown_wall_banner、minecraft:green_wall_banner、minecraft:red_wall_banner、minecraft:black_wall_banner -
minecraft:birch_logs minecraft:birch_log、minecraft:birch_bark、minecraft:stripped_birch_log、minecraft:stripped_birch_bark -
minecraft:buttons #minecraft:wooden_buttons、minecraft:stone_button -
minecraft:carpets minecraft:white_carpet、minecraft:orange_carpet、minecraft:magenta_carpet、minecraft:light_blue_carpet、minecraft:yellow_carpet、minecraft:lime_carpet、minecraft:pink_carpet、minecraft:gray_carpet、minecraft:light_gray_carpet、minecraft:cyan_carpet、minecraft:purple_carpet、minecraft:blue_carpet、minecraft:brown_carpet、minecraft:green_carpet、minecraft:red_carpet、minecraft:black_carpet -
minecraft:coral_blocks minecraft:tube_coral_block, minecraft:brain_coral_block, minecraft:bubble_coral_block, minecraft:fire_coral_block, minecraft:horn_coral_block -
minecraft:corals minecraft:tube_coral, minecraft:brain_coral, minecraft:bubble_coral, minecraft:fire_coral, minecraft:horn_coral, minecraft:tube_coral_fan, minecraft:brain_coral_fan, minecraft:bubble_coral_fan, minecraft:fire_coral_fan, minecraft:horn_coral_fan -
minecraft:dark_oak_logs minecraft:dark_oak_log, minecraft:dark_oak_bark, minecraft:stripped_dark_oak_log, minecraft:stripped_dark_oak_bark -
minecraft:doors #minecraft:wooden_doors、minecraft:iron_door -
minecraft:enderman_holdable minecraft:grass_block、minecraft:dirt、minecraft:coarse_dirt、minecraft:podzol、minecraft:sand、minecraft:red_sand、minecraft:gravel、minecraft:dandelion、minecraft:poppy、minecraft:blue_orchid、minecraft:allium、minecraft:azure_bluet、minecraft:red_tulip、minecraft:orange_tulip、minecraft:white_tulip、minecraft:pink_tulip、minecraft:oxeye_daisy、minecraft:brown_mushroom、minecraft:red_mushroom、minecraft:tnt、minecraft:cactus、minecraft:clay、minecraft:pumpkin、minecraft:carved_pumpkin、minecraft:melon_block、minecraft:mycelium、minecraft:netherrack
  • 用来决定哪些方块可以被末影人拾起。
minecraft:flower_pots minecraft:flower_pot、minecraft:potted_poppy、minecraft:potted_blue_orchid、minecraft:potted_allium、minecraft:potted_azure_bluet、minecraft:potted_red_tulip、minecraft:potted_orange_tulip、minecraft:potted_white_tulip、minecraft:potted_pink_tulip、minecraft:potted_oxeye_daisy、minecraft:potted_dandelion、minecraft:potted_oak_sapling、minecraft:potted_spruce_sapling、minecraft:potted_birch_sapling、minecraft:potted_jungle_sapling、minecraft:potted_acacia_sapling、minecraft:potted_dark_oak_sapling、minecraft:potted_red_mushroom、minecraft:potted_brown_mushroom、minecraft:potted_dead_bush、minecraft:potted_fern、minecraft:potted_cactus -
minecraft:ice minecraft:ice, minecraft:packed_ice, minecraft:blue_ice, minecraft:frosted_ice -
minecraft:impermeable minecraft:glass, minecraft:white_stained_glass, minecraft:orange_stained_glass, minecraft:magenta_stained_glass, minecraft:light_blue_stained_glass, minecraft:yellow_stained_glass, minecraft:lime_stained_glass, minecraft:pink_stained_glass, minecraft:gray_stained_glass, minecraft:light_gray_stained_glass, minecraft:cyan_stained_glass, minecraft:purple_stained_glass, minecraft:blue_stained_glass, minecraft:brown_stained_glass, minecraft:green_stained_glass, minecraft:red_stained_glass, minecraft:black_stained_glass
  • 这个标签下的方块的上方有液体时不会展示水滴/熔岩粒子效果。
minecraft:jungle_logs minecraft:jungle_log, minecraft:jungle_bark, minecraft:stripped_jungle_log, minecraft:stripped_jungle_bark -
minecraft:leaves minecraft:jungle_leaves, minecraft:oak_leaves, minecraft:spruce_leaves, minecraft:dark_oak_leaves, minecraft:acacia_leaves, minecraft:birch_leaves -
minecraft:logs #minecraft:dark_oak_logs, #minecraft:oak_logs, #minecraft:acacia_logs, #minecraft:birch_logs, #minecraft:jungle_logs, #minecraft:spruce_logs
  • 用于鹦鹉的栖息AI对方块的要求之一。
  • 如果该标签的方块周围有树叶,树叶方块会将其check_decay方块状态设为false。
  • 树会生长进入此标签的方块。
  • 如果默认村落结构中的方块与该标签内的方块匹配,则它们将被砂岩、云杉木或金合欢原木(取决于生物群系)替换。
  • 检查破坏树木教程步骤的进度。
minecraft:oak_logs minecraft:oak_log, minecraft:oak_bark, minecraft:stripped_oak_log, minecraft:stripped_oak_bark -
minecraft:planks minecraft:oak_planks、minecraft:spruce_planks、minecraft:birch_planks、minecraft:jungle_planks、minecraft:acacia_planks、minecraft:dark_oak_planks
  • 如果默认村庄结构的方块有此标签中的方块,则这些方块会被替换为平滑砂岩、云杉木板和金合欢木板(取决于生物群系)。
minecraft:rails minecraft:rail, minecraft:powered_rail, minecraft:detector_rail, minecraft:activator_rail
  • 检测是否可以放置矿车。
  • 检测是否与铁轨相连。
  • 矿车是否可在此方块上行驶。
minecraft:sand minecraft:sand, minecraft:red_sand -
minecraft:saplings minecraft:oak_sapling、minecraft:spruce_sapling、minecraft:birch_sapling、minecraft:jungle_sapling、minecraft:acacia_sapling、minecraft:dark_oak_sapling
  • 树会生长进入此标签的方块。
minecraft:slabs minecraft:stone_slab, minecraft:stone_brick_slab, minecraft:sandstone_slab, minecraft:acacia_slab, minecraft:birch_slab, minecraft:dark_oak_slab, minecraft:jungle_slab, minecraft:oak_slab, minecraft:spruce_slab, minecraft:purpur_slab, minecraft:quartz_slab, minecraft:red_sandstone_slab, minecraft:brick_slab, minecraft:cobblestone_slab, minecraft:nether_brick_slab, minecraft:petrified_oak_slab, minecraft:prismarine_slab, minecraft:prismarine_bricks_slab, minecraft:dark_prismarine_slab -
minecraft:spruce_logs minecraft:spruce_log, minecraft:spruce_bark, minecraft:stripped_spruce_log, minecraft:stripped_spruce_bark -
minecraft:stairs minecraft:oak_stairs, minecraft:cobblestone_stairs, minecraft:spruce_stairs, minecraft:sandstone_stairs, minecraft:acacia_stairs, minecraft:jungle_stairs, minecraft:birch_stairs, minecraft:dark_oak_stairs, minecraft:nether_brick_stairs, minecraft:stone_brick_stairs, minecraft:brick_stairs, minecraft:purpur_stairs, minecraft:quartz_stairs, minecraft:red_sandstone_stairs, minecraft:prismarine_bricks_stairs, minecraft:prismarine_stairs, minecraft:dark_prismarine_stairs -
minecraft:stone_bricks minecraft:stone_bricks、minecraft:mossy_stone_bricks、minecraft:cracked_stone_bricks、minecraft:chiseled_stone_bricks -
minecraft:underwater_bonemeals minecraft:seagrass, #minecraft:corals, #minecraft:wall_corals
  • 当在暖洋生物群系中在水下使用骨粉时,该标签中的方块将取代水源方块(在5个水平块和2个垂直块内)。
  • 如果该标记中的方块是自定义的,则该行为将应用于任何生物群系中的水源方块。这些方块在默认情况下不会充水。
minecraft:valid_spawn minecraft:grass_block, minecraft:podzol
  • 用于确定位置是否是玩家的有效出生位置。
minecraft:wall_corals minecraft:tube_coral_wall_fan, minecraft:brain_coral_wall_fan, minecraft:bubble_coral_wall_fan, minecraft:fire_coral_wall_fan, minecraft:horn_coral_wall_fan -
minecraft:wooden_buttons minecraft:oak_button、minecraft:spruce_button、minecraft:birch_button、minecraft:jungle_button、minecraft:acacia_button、minecraft:dark_oak_button
  • 用于标签#minecraft:buttons。
minecraft:wooden_doors minecraft:oak_door、minecraft:spruce_door、minecraft:birch_door、minecraft:jungle_door、minecraft:acacia_door、minecraft:dark_oak_door
  • 用于标签#minecraft:doors。
minecraft:wooden_pressure_plates minecraft:oak_pressure_plate、minecraft:spruce_pressure_plate、minecraft:birch_pressure_plate、minecraft:jungle_pressure_plate、minecraft:acacia_pressure_plate、minecraft:dark_oak_pressure_plate -
minecraft:wooden_slabs minecraft:oak_slab、minecraft:spruce_slab、minecraft:birch_slab、minecraft:jungle_slab、minecraft:acacia_slab、minecraft:dark_oak_slab -
minecraft:wooden_stairs minecraft:oak_stair、minecraft:spruce_stair、minecraft:birch_stair、minecraft:jungle_stairs、minecraft:acacia_stairs、minecraft:dark_oak_stairs -
minecraft:wool minecraft:white_wool、minecraft:orange_wool、minecraft:magenta_wool、minecraft:light_blue_wool、minecraft:yellow_wool、minecraft:lime_wool、minecraft:pink_wool、minecraft:gray_wool、minecraft:light_gray_wool、minecraft:cyan_wool、minecraft:purple_wool、minecraft:blue_wool、minecraft:brown_wool、minecraft:green_wool、minecraft:red_wool、minecraft:black_wool
  • 此标签的方块可以被使用剪刀快速破坏,并增加剪刀的使用统计。
  • 放在该标签的方块上的音符盒会发出吉他音效。

流体[编辑 | 编辑源代码]

Tag name Values Usage
minecraft:lava minecraft:lava, minecraft:flowing_lava
  • 在这种液体附近的仙人掌会被摧毁
  • 用于在这种液体上显示流动的熔岩的材质(MC-129244?)
  • 用于在雨中产生烟雾粒子,而不是普通的雨粒子。
  • 用于显示熔岩的雾效果。
  • 用于标签Invulnerable为true时的燃烧图示。
  • 当一个装着这种液体的桶把液体倒在地上时,会播放熔岩的音效。
  • 指示LAVA探路系统节点。
  • 用于生成石头/圆石/黑曜石的过程。
  • 由这种液体决定它在这种液体内部的颜色
  • 确定实体是否会像在岩浆中一样移动。
minecraft:water minecraft:water, minecraft:flowing_water
  • 珊瑚至少有一面接触这种液体。
  • 珊瑚扇必须放在这种液体里。
  • 耕地利用这种液体判定湿润程度。
  • 甘蔗检测自身被种植的方块旁边是否有这种液体或霜冰。
  • 海绵会摧毁这种液体
  • 这种液体决定这些粒子该不该出现:(minecraft:bubbleminecraft:bubble_column_upminecraft:current_downminecraft:underwater
  • 水粒子由这种液体决定它在这种液体内部的颜色。
  • 用于显示水的雾效果。
  • 确定实体是否会像在水中一样移动。
  • 指定WATER探路系统节点,部分生物会找到它。
  • 船会检测这种液体。
  • 混凝土粉末会检测这种液体。
  • 物品和经验球会漂浮在这种液体中。
  • 守卫者、鱼、海龟会检测这种液体。
  • 钓鱼竿浮漂会在这种液体里跳跃。
  • 玻璃瓶可以被这种液体装满。
  • 这种液体不能倒在下界里。
  • 用于是否将火焰熄灭。
  • 用于Air标签是否在此液体中减少。
  • 充水方块也受此影响。

物品[编辑 | 编辑源代码]

标签名称 Values Usage
minecraft:acacia_logs minecraft:acacia_log, minecraft:acacia_wood, minecraft:stripped_acacia_log, minecraft:stripped_acacia_wood
  • 用于acacia_planks.json进度和合成配方文件,以及logs.json物品标签文件。
minecraft:anvil minecraft:anvil, minecraft:chipped_anvil, minecraft:damaged_anvil -
minecraft:banners minecraft:white_banner, minecraft:orange_banner, minecraft:magenta_banner, minecraft:light_blue_banner, minecraft:yellow_banner, minecraft:lime_banner, minecraft:pink_banner, minecraft:gray_banner, minecraft:light_gray_banner, minecraft:cyan_banner, minecraft:purple_banner, minecraft:blue_banner, minecraft:brown_banner, minecraft:green_banner, minecraft:red_banner, minecraft:black_banner
  • 用于检查一个物品是否能进入熔炉的燃料槽并增加300刻的燃烧时间。
minecraft:birch_logs minecraft:birch_log, minecraft:birch_wood, minecraft:stripped_birch_log, minecraft:stripped_birch_wood
  • 用于birch_planks.json进度和合成配方文件以及logs.json物品标签文件。
minecraft:boats minecraft:oak_boat, minecraft:spruce_boat, minecraft:birch_boat, minecraft:jungle_boat, minecraft:acacia_boat, minecraft:dark_oak_boat
  • 用于检查一个物品是否能进入熔炉的燃料槽并增加200刻的燃烧时间。
minecraft:buttons #minecraft:wooden_buttons, minecraft:stone_button -
minecraft:carpets minecraft:white_carpet, minecraft:orange_carpet, minecraft:magenta_carpet, minecraft:light_blue_carpet, minecraft:yellow_carpet, minecraft:lime_carpet, minecraft:pink_carpet, minecraft:gray_carpet, minecraft:light_gray_carpet, minecraft:cyan_carpet, minecraft:purple_carpet, minecraft:blue_carpet, minecraft:brown_carpet, minecraft:green_carpet, minecraft:red_carpet, minecraft:black_carpet
  • 此标签中的物品可以添加到羊驼的装饰栏中来改变羊驼的外观。其他物品若加入此标签也会生效,但不会更改羊驼的外观。
  • 用于检查物品是否能放入熔炉的燃料槽,并重置燃烧时间至67。
minecraft:dark_oak_logs minecraft:dark_oak_log, minecraft:dark_oak_wood, minecraft:stripped_dark_oak_log, minecraft:stripped_dark_oak_wood
  • 用于dark_oak_planks.json进度和合成配方文件,以及logs.json物品标签文件。
minecraft:doors #minecraft:wooden_doors, minecraft:iron_door -
minecraft:fishes minecraft:cod, minecraft:cooked_cod, minecraft:salmon, minecraft:cooked_salmon, minecraft:pufferfish, minecraft:tropical_fish
  • 此标签中的物品出现在玩家的主手或副手中时,海豚会背着玩家游泳。
  • 使用此标签中的物品喂养海豚会使它们“信任”你。
  • 用于统计已捕获的鱼的数量的fish_caught统计数据。
minecraft:jungle_logs minecraft:jungle_log, minecraft:jungle_wood, minecraft:stripped_jungle_log, minecraft:stripped_jungle_wood
  • 用于jungle_planks.json进度和合成配方文件,以及logs.json物品标签文件。
minecraft:leaves minecraft:jungle_leaves, minecraft:oak_leaves, minecraft:spruce_leaves, minecraft:dark_oak_leaves, minecraft:acacia_leaves, minecraft:birch_leaves -
minecraft:logs minecraft:oak_log, minecraft:spruce_log, minecraft:birch_log, minecraft:jungle_log, minecraft:acacia_log, minecraft:dark_oak_log, minecraft:oak_bark, minecraft:spruce_bark, minecraft:birch_bark, minecraft:jungle_bark, minecraft:acacia_bark, minecraft:dark_oak_bark
  • 用于各种检测,以跳过或进入“punch_tree”教程步骤。
  • 用于检查一个物品是否能进入熔炉的燃料槽并增加300刻的燃烧时间。
minecraft:oak_logs minecraft:oak_log, minecraft:oak_wood, minecraft:stripped_oak_log, minecraft:stripped_oak_wood
  • 用于oak_planks.json进度和合成配方文件,以及logs.json物品标签文件。
minecraft:planks minecraft:oak_planks, minecraft:spruce_planks, minecraft:birch_planks, minecraft:jungle_planks, minecraft:acacia_planks, minecraft:dark_oak_planks
  • 用于在修复木质工具时,检测用于修复的物品。
  • 用于在修复盾牌时,检测用于修复的物品。
  • 用于各种检测,以跳过或进入“craft_planks”教程步骤。
  • 用于检查一个物品是否能进入熔炉的燃料槽并增加300刻的燃烧时间。
  • 用于这三个进度文件这三十二个合成配方文件
minecraft:rails minecraft:rail, minecraft:powered_rail, minecraft:detector_rail, minecraft:activator_rail -
minecraft:sand minecraft:sand, minecraft:red_sand
  • 用于glass.json进度和合成配方文件。
minecraft:saplings minecraft:oak_sapling, minecraft:spruce_sapling, minecraft:birch_sapling, minecraft:jungle_sapling, minecraft:acacia_sapling, minecraft:dark_oak_sapling
  • 用于检查一个物品是否能进入熔炉的燃料槽并增加100刻的燃烧时间。
minecraft:slabs minecraft:stone_slab, minecraft:stone_brick_slab, minecraft:sandstone_slab, minecraft:acacia_slab, minecraft:birch_slab, minecraft:dark_oak_slab, minecraft:jungle_slab, minecraft:oak_slab, minecraft:spruce_slab, minecraft:purpur_slab, minecraft:quartz_slab, minecraft:red_sandstone_slab, minecraft:brick_slab, minecraft:cobblestone_slab, minecraft:nether_brick_slab, minecraft:petrified_oak_slab, minecraft:prismarine_slab, minecraft:prismarine_bricks_slab, minecraft:dark_prismarine_slab -
minecraft:spruce_logs minecraft:spruce_log, minecraft:spruce_wood, minecraft:stripped_spruce_log, minecraft:stripped_spruce_wood
  • 用于spruce_planks.json进度和合成配方文件,以及logs.json物品标签文件。
minecraft:stairs minecraft:oak_stairs, minecraft:cobblestone_stairs, minecraft:spruce_stairs, minecraft:sandstone_stairs, minecraft:acacia_stairs, minecraft:jungle_stairs, minecraft:birch_stairs, minecraft:dark_oak_stairs, minecraft:nether_brick_stairs, minecraft:stone_brick_stairs, minecraft:brick_stairs, minecraft:purpur_stairs, minecraft:quartz_stairs, minecraft:red_sandstone_stairs, minecraft:prismarine_bricks_stairs, minecraft:prismarine_stairs, minecraft:dark_prismarine_stairs -
minecraft:stone_bricks minecraft:stone_bricks, minecraft:mossy_stone_bricks, minecraft:cracked_stone_bricks, minecraft:chiseled_stone_bricks
  • 用于这三个进度文件这两个合成配方文件
minecraft:wooden_buttons minecraft:oak_button, minecraft:spruce_button, minecraft:birch_button, minecraft:jungle_button, minecraft:acacia_button, minecraft:dark_oak_button
  • 用于检查一个物品是否能进入熔炉的燃料槽并增加100刻的燃烧时间。
  • 在标签#minecraft:buttons 中使用。
minecraft:wooden_doors minecraft:oak_door, minecraft:spruce_door, minecraft:birch_door, minecraft:jungle_door, minecraft:acacia_door, minecraft:dark_oak_door
  • 用于检查一个物品是否能进入熔炉的燃料槽并增加100刻的燃烧时间。
  • 用于doors.json物品标签文件
minecraft:wooden_pressure_plates minecraft:oak_pressure_plate, minecraft:spruce_pressure_plate, minecraft:birch_pressure_plate, minecraft:jungle_pressure_plate, minecraft:acacia_pressure_plate, minecraft:dark_oak_pressure_plate
  • 用于检查一个物品是否能进入熔炉的燃料槽并增加300刻的燃烧时间。
minecraft:wooden_slabs minecraft:oak_slab, minecraft:spruce_slab, minecraft:birch_slab, minecraft:jungle_slab, minecraft:acacia_slab, minecraft:dark_oak_slab
  • 用于检查一个物品是否能进入熔炉的燃料槽并增加150刻的燃烧时间。
  • 在配方书文件'dayllght_detector.json' 中使用。
minecraft:wooden_stairs minecraft:oak_stair, minecraft:spruce_stair, minecraft:birch_stair, minecraft:jungle_stairs, minecraft:acacia_stairs, minecraft:dark_oak_stairs
  • 用于检查一个物品是否能进入熔炉的燃料槽并增加300刻的燃烧时间。
minecraft:wool minecraft:white_wool, minecraft:orange_wool, minecraft:magenta_wool, minecraft:light_blue_wool, minecraft:yellow_wool, minecraft:lime_wool, minecraft:pink_wool, minecraft:gray_wool, minecraft:light_gray_wool, minecraft:cyan_wool, minecraft:purple_wool, minecraft:blue_wool, minecraft:brown_wool, minecraft:green_wool, minecraft:red_wool, minecraft:black_wool
  • 用于检查一个物品是否能进入熔炉的燃料槽并增加300刻的燃烧时间。
  • 在配方书和进度文件'painting.json' 中使用。

历史[编辑 | 编辑源代码]

Java版
1.13 17w49a 为方块和物品添加了标签。
加入了原版方块标签minecraft:planksminecraft:wool
加入了原版物品标签 minecraft:planksminecraft:wool
17w49b 函数现在可以被标记。
minecraft:tick标签的函数现在从开始运行后的每一刻都运行。
加入了原版方块标签minecraft:buttonsminecraft:carpetsminecraft:doorsminecraft:flower_potsminecraft:logsminecraft:saplingsminecraft:stone_bricks
加入了原版物品标签 minecraft:buttonsminecraft:carpetsminecraft:doorsminecraft:logsminecraft:saplingsminecraft:stone_bricks
17w50a 加入了原版方块标签minecraft:wooden_buttonsminecraft:wooden_doors
加入了原版物品标签 minecraft:wooden_buttonsminecraft:wooden_doors
更新了原版方块和物品标签minecraft:buttonsminecraft:doors,分别包括minecraft:stone_buttonminecraft:iron_door
18w01a minecraft:load标签的函数将在(re)加载后运行一次。
加入了原版方块标签 minecraft:anvil
18w02a 加入了原版方块标签 minecraft:enderman_holdable
18w06a 加入了原版方块标签minecraft:bannersminecraft:wooden_pressure_platesminecraft:wooden_slabsminecraft:wooden_stairs
加入了原版物品标签 minecraft:bannersminecraft:boatsminecraft:wooden_pressure_platesminecraft:wooden_slabs,和minecraft:wooden_stairs
18w07a 加入了原版方块标签minecraft:slabsminecraft:stairsminecraft:water_hacked
加入了方块和物品标签minecraft:acacia_logsminecraft:birch_logsminecraft:dark_oak_logsminecraft:jungle_logsminecraft:oak_logs,和minecraft:spruce_logs
18w07b 加入了方块标签 minecraft:waterlogged
加入了方块和物品标签minecraft:railsminecraft:sand
18w09a 加入了原版方块和物品标签 minecraft:coral
minecraft:water_hacked标签现在包括箱子
18w10a 加入了方块和物品标签 coral_plants
waterlogged方块标签现在包括珊瑚。
18w10c 移除了方块标签water_hackedwaterlogged
18w19a 加入了方块标签 leaves、液体标签waterlava、物品标签fishesleaves
pre8 加入了方块标签 wall_coralsimpermeable
1.13.1 18w31a 加入了方块标签 underwater_bonemeals

你知道吗[编辑 | 编辑源代码]

当液体同时附上water与lava标签时会有些有趣的效果,如熔岩将熔岩变成黑曜石或单格水自动生成圆石等。

漏洞[编辑 | 编辑源代码]

关于“标签”的漏洞由漏洞追踪器维护,请在那里使用英文汇报漏洞。