Tag

From Minecraft Wiki
Jump to: navigation, search
Information icon.svg
This feature is exclusive to Java Edition.

Tags in data packs allow players to group items, blocks, fluids, entity types or functions together using JSON files.

Usage[edit]

To utilize block, item, or function tags the JSON files must be placed in a data pack inside the data/(namespace)/tags/blocks, data/(namespace)/tags/items, data/(namespace)/tags/entity_types or data/(namespace)/tags/functions folder respectively.

Minecraft itself also uses tags. For example, vanilla block tags are used for various block properties, vanilla item tags are used for various item properties, vanilla advancement files and vanilla recipe files, and vanilla entity type tags are used for various mob properties. See #List of tags section for their usages.

There are no vanilla function tags since there are no vanilla functions, but the game reads from certain function tags under the minecraft namespace.

Folder Structure[edit]

  • (data pack root directory)
    • data
      • (namespace)
        • tags
          • blocks
            • (name).json
          • entity_types
            • (name).json
          • fluids
            • (name).json
          • functions
            • (name).json
          • items
            • (name).json

Block Tags[edit]

Block tags can be called when testing for block arguments in commands with #(namespaced ID), which succeeds if the block matches any of the blocks specified in the tag.

Item Tags[edit]

Item tags can be called when testing for item arguments in commands with #(namespaced ID) or in recipes and advancements using "tag": "(namespaced ID)", which succeeds if the item matches any of the items specified in the tag.

Entity type Tags[edit]

Entity type tags can be called in type target selector argument and loot table conditions with #(namespaced ID), which checks if the entity's type matches any of the entity types specified in the tag.

Function Tags[edit]

Function tags can be called in the /function command with #(namespaced ID), which runs all the functions specified in the tag in the order of their first appearance in a tag. If a function is referenced multiple times in a tag and its sub-tags, it is run once.

Moreover, functions tagged in the minecraft:tick tag runs every tick at the start of the tick and functions tagged in minecraft:load runs once at the start of the tick after a server (re)load.

JSON format[edit]

  • The root object.
    •  replace: Optional. Whether or not contents of this tag should completely replace tag contents from different lower priority data packs with the same namespaced ID. When false the tag's content is appended to the contents of the higher priority data packs. instead. Defaults to false.
    •  values: A list of mix and match of object names and tag names. For tags, recursive reference is possible, but a circular reference causes a loading failure.
      • : An object's namespaced ID in the form (namespaced ID).
      • : ID of another tag of the same type in the form #(namespaced ID).

List of tags[edit]

Blocks[edit]

Tag name Values Usage
acacia_logs acacia_log, acacia_wood, stripped_acacia_log, stripped_acacia_wood
anvil anvil, chipped_anvil, damaged_anvil
  • Used to determine which blocks should open the anvil GUI. Does not work for any other blocks than the default ones, but removing any of the default blocks from the tag stops the GUI from appearing.
  • Used to determine the damage source for entities being damaged by a falling block, which is used by the death messages.
  • Used to determine if a block has a chance to get "damaged" or break upon landing. Adding blocks to this tag that can naturally fall does not make them have a chance to break upon landing when they fall naturally. For example adding sand does not make falling sand blocks that are created naturally have a chance to break, but falling sand blocks summoned with a command have a chance to break.
  • Used in reading NBT from falling block entities to set the internal HurtEntities boolean to true if the entity did not have HurtEntities set.
  • Used to determine if the block should have a chance to take damage from using the anvil GUI.
bamboo_plantable_on bamboo, bamboo_sapling, gravel, #sand, bamboo, bamboo_sapling, gravel, #sand, dirt, grass_block, podzol, coarse_dirt, mycelium
  • Used to check where bamboo can be planted
banners white_banner, orange_banner, magenta_banner, light_blue_banner, yellow_banner, lime_banner, pink_banner, gray_banner, light_gray_banner, cyan_banner, purple_banner, blue_banner, brown_banner, green_banner, red_banner, black_banner, white_wall_banner, orange_wall_banner, magenta_wall_banner, light_blue_wall_banner, yellow_wall_banner, lime_wall_banner, pink_wall_banner, gray_wall_banner, light_gray_wall_banner, cyan_wall_banner, purple_wall_banner, blue_wall_banner, brown_wall_banner, green_wall_banner, red_wall_banner, black_wall_banner
  • Used by maps upon clicking a block, to see if it should place a marker.
beds red_bed, black_bed, blue_bed, brown_bed, cyan_bed, gray_bed, green_bed, light_blue_bed, light_gray_bed, lime_bed, magenta_bed, orange_bed, pink_bed, purple_bed, white_bed, yellow_bed
  • Used by cats to determine where to sit by themselves or lie down.
  • Used to validate villager points of interest
  • Used to determine what blocks can be slept in
  • Used to determine what blocks baby villagers can jump on
beehives bee_nest, beehive
  • Determines which blocks can fill with honey when a bee deposits pollen.
  • Blocks in this tag can have honey removed by a dispenser with a glass bottle or shears.
bee_growables #crops, sweet_berry_bush
  • When bees pollinate these blocks they grow one stage.
  • Removing blocks from this tag has no effect.
birch_logs birch_log, birch_wood, stripped_birch_log, stripped_birch_wood
buttons #wooden_buttons, stone_button
carpets white_carpet, orange_carpet, magenta_carpet, light_blue_carpet, yellow_carpet, lime_carpet, pink_carpet, gray_carpet, light_gray_carpet, cyan_carpet, purple_carpet, blue_carpet, brown_carpet, green_carpet, red_carpet, black_carpet
corals #coral_plants, tube_coral_fan, brain_coral_fan, bubble_coral_fan, fire_cora_fanl, horn_coral_fan
coral_blocks tube_coral_block, brain_coral_block, bubble_coral_block, fire_coral_block, horn_coral_block
  • Used to generate coral reefs.
  • Using bone meal on a sea pickle on a block in this tag creates more sea pickles.
coral_plants tube_coral, brain_coral, bubble_coral, fire_coral, horn_coral
crops beetroots, carrots, potatoes, wheat, melon_stem, pumpkin_stem
dark_oak_logs dark_oak_log, dark_oak_wood, stripped_dark_oak_log, stripped_dark_oak_wood
doors #wooden_doors, iron_door [needs testing]
dragon_immune barrier, bedrock, end_portal, end_portal_frame, end_gateway, command_block, repeating_command_block, chain_command_block, structure_block, jigsaw, moving_piston, obsidian, end_stone, iron_bars
  • Used to be determined what blocks Ender dragon can't destroy.
enderman_holdable #small_flowers, grass_block, dirt, coarse_dirt, podzol, sand, red_sand, gravel, brown_mushroom, red_mushroom, tnt, cactus, clay, pumpkin, carved_pumpkin, melon, mycelium, netherrack
  • Used to determine what blocks enderman can pick up.
fences #wooden_fences, nether_brick_fence
  • Mobs view all blocks in this tag as fences and pathfind accordingly.
  • Leads can be attached to blocks in this tag.
  • The lead know entity uses this tag to determine if it should break or not.
flowers #small_flowers, #tall_flowers
  • Bees can pollinate and remember blocks in this tag
flower_pots flower_pot, potted_poppy, potted_blue_orchid, potted_allium, potted_azure_bluet, potted_red_tulip, potted_orange_tulip, potted_white_tulip, potted_pink_tulip, potted_oxeye_daisy, potted_dandelion, potted_oak_sapling, potted_spruce_sapling, potted_birch_sapling, potted_jungle_sapling, potted_acacia_sapling, potted_dark_oak_sapling, potted_red_mushroom, potted_brown_mushroom, potted_dead_bush, potted_fern, potted_cactus, flower_pot, potted_poppy, potted_blue_orchid, potted_allium, potted_azure_bluet, potted_red_tulip, potted_orange_tulip, potted_white_tulip, potted_pink_tulip, potted_oxeye_daisy, potted_dandelion, potted_oak_sapling, potted_spruce_sapling, potted_birch_sapling, potted_jungle_sapling, potted_acacia_sapling, potted_dark_oak_sapling, potted_red_mushroom, potted_brown_mushroom, potted_dead_bush, potted_fern, potted_cactus, potted_cornflower, potted_lily_of_the_valley, potted_wither_rose, potted_bamboo
ice ice, packed_ice, blue_ice, frosted_ice
  • Blocks in this tag do not act a surface for ocean ruins to generate on.
impermeable glass, white_stained_glass, orange_stained_glass, magenta_stained_glass, light_blue_stained_glass, yellow_stained_glass, lime_stained_glass, pink_stained_glass, gray_stained_glass, light_gray_stained_glass, cyan_stained_glass, purple_stained_glass, blue_stained_glass, brown_stained_glass, green_stained_glass, red_stained_glass, black_stained_glass
  • Blocks in this tag do not let fluids or honey drip through.
jungle_logs jungle_log, jungle_wood, stripped_jungle_log, stripped_jungle_wood
  • Cocoa beans can be placed on blocks in this tag.
leaves jungle_leaves, oak_leaves, spruce_leaves, dark_oak_leaves, acacia_leaves, birch_leaves
  • Blocks in this tag don't obstruct many features from generating, such as bonus chests, trees, and huge mushrooms.
  • Used to determine placement rules for some transparent blocks
  • Blocks in this tag are destroyed 1.5x faster than normal with swords
  • Blocks in this tag are destoryed 15x faster than normal with shears and increment their stat usage
  • Blocks is this tag recognize shears as a correct tool
  • Parrots and ocelots can spawn in blocks in this tag
logs #dark_oak_logs, #oak_logs, #acacia_logs, #birch_logs, #jungle_logs, #spruce_logs
  • Used for one of the requirements for settling on a block position for the parrot wandering AI.
  • If a block in this tag is around a leaves block, the leaves block sets its distance block state to the distance the closest tagged block is.
  • Trees can grow into blocks in this tag.
  • Checks progress for the punch_tree tutorial step.
oak_logs oak_log, oak_wood, stripped_oak_log, stripped_oak_wood
planks oak_planks, spruce_planks, birch_planks, jungle_planks, acacia_planks, dark_oak_planks
portals nether_portal, end_portal, end_gateway [more information needed]
rails rail, powered_rail, detector_rail, activator_rail
  • Mobs cannot spawn on blocks in this tag
  • Minecarts can be placed and dispensed onto blocks in this tag. Adding blocks to this tag causes the game to crash.
  • TNT Minecarts do not destroy the block it is in if that block is in this tag. The block below is not destroyed.
  • [needs testing]
sand sand, red_sand
saplings oak_sapling, spruce_sapling, birch_sapling, jungle_sapling, acacia_sapling, dark_oak_sapling
  • Trees can grow into blocks in this tag.
shulker_boxes shulker_box, black_shulker_box, blue_shulker_box, brown_shulker_box, cyan_shulker_box, gray_shulker_box, green_shulker_box, light_blue_shulker_box, light_gray_shulker_box, lime_shulker_box, magenta_shulker_box, orange_shulker_box, pink_shulker_box, purple_shulker_box, red_shulker_box, white_shulker_box, yellow_shulker_box Fences do not connect to blocks in this tag.
signs #standing_signs, #wall_signs
  • Blocks in this tag are not destroyed by flowing water
slabs stone_slab, smooth_stone_slab, stone_brick_slab, sandstone_slab, acacia_slab, birch_slab, dark_oak_slab, jungle_slab, oak_slab, spruce_slab, purpur_slab, quartz_slab, red_sandstone_slab, brick_slab, cobblestone_slab, nether_brick_slab, petrified_oak_slab, prismarine_slab, prismarine_brick_slab, dark_prismarine_slab, polished_granite_slab, smooth_red_sandstone_slab, mossy_stone_brick_slab, polished_diorite_slab, mossy_cobblestone_slab, end_stone_brick_slab, smooth_sandstone_slab, smooth_quartz_slab, granite_slab, andesite_slab, red_nether_brick_slab, polished_andesite_slab, diorite_slab, cut_sandstone_slab, cut_red_sandstone_slab
small_flowers dandelion, poppy, blue_orchid, allium, azure_bluet, red_tulip, orange_tulip, white_tulip, pink_tulip, oxeye_daisy, cornflower, lily_of_the_valley, wither_rose
  • Bees attempt to pollinate blocks in this tag
spruce_logs spruce_log, spruce_wood, stripped_spruce_log, stripped_spruce_wood
stairs oak_stairs, cobblestone_stairs, spruce_stairs, sandstone_stairs, acacia_stairs, jungle_stairs, birch_stairs, dark_oak_stairs, nether_brick_stairs, stone_brick_stairs, brick_stairs, purpur_stairs, quartz_stairs, red_sandstone_stairs, prismarine_brick_stairs, prismarine_stairs, dark_prismarine_stairs, polished_granite_stairs, smooth_red_sandstone_stairs, mossy_stone_brick_stairs, polished_diorite_stairs, mossy_cobblestone_stairs, end_stone_brick_stairs, stone_stairs, smooth_sandstone_stairs, smooth_quartz_stairs, granite_stairs, andesite_stairs, red_nether_brick_stairs, polished_andesite_stairs, diorite_stairs
standing_signs oak_sign, spruce_sign, birch_sign, acacia_sign, jungle_sign, dark_oak_sign
stone_bricks stone_bricks, mossy_stone_bricks, cracked_stone_bricks, chiseled_stone_bricks
tall_flowers sunflower, lilac, peony, rose_bush
  • Bees attempt to pollinate blocks in this tag
trapdoors #wooden_trapdoors, iron_trapdoor
  • Mobs treat all blocks in this tag as trapdoors when pathfinding
underwater_bonemeals seagrass, #corals, #wall_corals
  • Blocks in this tag replace water source blocks (within 5 horizontal and 2 vertical blocks) when bone meal is used under water in warm ocean biomes.
  • If the blocks in this tag are customized, the behavior is applied to water source blocks in any biome. These blocks are not waterlogged by default.
valid_spawn grass_block, podzol
  • Used to determine if a location is a valid spawn position for the player.
walls cobblestone_wall, mossy_cobblestone_wall, brick_wall, prismarine_wall, red_sandstone_wall, mossy_stone_brick_wall, granite_wall, stone_brick_wall, nether_brick_wall, andesite_wall, red_nether_brick_wall, sandstone_wall, end_stone_brick_wall, diorite_wall
  • Mobs treat blocks in this tag as fences when pathfinding.
  • Fence gates have the in_wall tag when next to a block in this tag.
  • [needs testing]
wall_corals tube_coral_wall_fan, brain_coral_wall_fan, bubble_coral_wall_fan, fire_coral_wall_fan, horn_coral_wall_fan
wall_signs oak_wall_sign, spruce_wall_sign, birch_wall_sign, acacia_wall_sign, jungle_wall_sign, dark_oak_wall_sign
wither_immune barrier, bedrock, end_portal, end_portal_frame, end_gateway, command_block, repeating_command_block, chain_command_block, structure_block, jigsaw, moving_piston
  • Used to be determined what blocks Wither can't destroy.
wooden_buttons oak_button, spruce_button, birch_button, jungle_button, acacia_button, dark_oak_button
  • Used in the 'buttons.json' block tag file.
wooden_doors oak_door, spruce_door, birch_door, jungle_door, acacia_door, dark_oak_door
  • Used in the 'doors.json' block tag file.
  • Villagers use this tag to detect doors
wooden_fences oak_fence, acacia_fence, dark_oak_fence, spruce_fence, birch_fence, jungle_fence
wooden_pressure_plates oak_pressure_plate, spruce_pressure_plate, birch_pressure_plate, jungle_pressure_plate, acacia_pressure_plate, dark_oak_pressure_plate
wooden_slabs oak_slab, spruce_slab, birch_slab, jungle_slab, acacia_slab, dark_oak_slab
wooden_stairs oak_stairs, spruce_stairs, birch_stairs, jungle_stairs, acacia_stairs, dark_oak_stairs
wooden_trapdoors acacia_trapdoor, birch_trapdoor, dark_oak_trapdoor, jungle_trapdoor, oak_trapdoor, spruce_trapdoor
wool white_wool, orange_wool, magenta_wool, light_blue_wool, yellow_wool, lime_wool, pink_wool, gray_wool, light_gray_wool, cyan_wool, purple_wool, blue_wool, brown_wool, green_wool, red_wool, black_wool
  • Blocks in this tag are broken 5× faster by shears and also increase the usage stat of shears.
  • Placing blocks in this tag under a note block sets the instrument used to guitar.

Entity Types[edit]

Tag name Values Usage
arrows arrow, spectral_arrow
beehive_inhabitors bee
  • Entities in this tag can be in beehives
raiders evoker, illusioner, pillager, ravager, vindicator, witch
  • Determines which entities get the glowing effect when ringing a bell.
  • Entities in this tag do not override a ravager's AI when riding one.
  • Used in the 'adventure/voluntary_exile.json' advancement file.
skeletons skeleton, stray, wither_skeleton
  • Makes creepers drop music discs when killed by a tagged mob

Fluids[edit]

Tag name Values Usage
lava lava, flowing_lava
  • Cactus breaks when next to this fluid
  • Used to enable the lava texture on a fluid
  • Used to create a smoke particle from rain instead of the normal rain particle
  • Used to enable lava-like fog
  • Items and experience orbs burn when in this fluid
  • When a bucket containing this fluid is placed, it uses the lava sound effect
  • Indicates a LAVA pathfinder node
  • Used in the process of forming stone/cobblestone/obsidian
water water, flowing_water
  • Coral must have this on at least one side
  • Coral fans must be placed in this
  • Farmland uses this to determine hydration
  • Sugar Cane checks if this fluid, or a frosted ice block, is present next to the block below its base.
  • Sponges can absorb this fluid
  • Several particles use this to determine whether they should persist (bubble, bubble_column_up, current_down, underwater)
  • The drip particle internally uses this to determine its color.
  • Used to enable water fog
  • Determines if entities move as if they are in water
  • Indicates a WATER pathfinder node. Certain mobs pathfind toward this.
  • Boats check for this
  • Concrete solidifies in this.
  • Items and experience orbs float in this.
  • Guardians, squid, and turtles check for this
  • Fishing bobbers bob in this
  • Glass bottles may be filled in this
  • This fluid cannot be placed by buckets in the nether

Items[edit]

Tag name Values Usage
acacia_logs acacia_log, acacia_wood, stripped_acacia_log, stripped_acacia_wood
  • Used in the 'acacia_planks.json' advancement and recipe files, and the 'logs.json' item tag file.
anvil anvil, chipped_anvil, damaged_anvil -
arrows arrow, tipped_arrow, spectral_arrow
  • Controls what items can be shot by bows and crowssbows. Any items added to the tag can be shot and picked up as a normal arrow.
banners white_banner, orange_banner, magenta_banner, light_blue_banner, yellow_banner, lime_banner, pink_banner, gray_banner, light_gray_banner, cyan_banner, purple_banner, blue_banner, brown_banner, green_banner, red_banner, black_banner
  • Used to check if an item can go in the fuel slot of a furnace and to return a burn time of 300.
beds red_bed, black_bed, blue_bed, brown_bed, cyan_bed, gray_bed, green_bed, light_blue_bed, light_gray_bed, lime_bed, magenta_bed, orange_bed, pink_bed, purple_bed, white_bed, yellow_bed -
birch_logs birch_log, birch_wood, stripped_birch_log, stripped_birch_wood
  • Used in the 'birch_planks.json' advancement and recipe files, and the 'logs.json' item tag file.
boats oak_boat, spruce_boat, birch_boat, jungle_boat, acacia_boat, dark_oak_boat
  • Used to check if an item can go in the fuel slot of a furnace and to return a burn time of 200. In Java Edition 1.15, the burn time is 1200.
buttons #wooden_buttons, stone_button -
carpets white_carpet, orange_carpet, magenta_carpet, light_blue_carpet, yellow_carpet, lime_carpet, pink_carpet, gray_carpet, light_gray_carpet, cyan_carpet, purple_carpet, blue_carpet, brown_carpet, green_carpet, red_carpet, black_carpet
  • Used to check whether or not an item can go in the decoration slot of a llama, but items other than carpets do not change the llama visually.
  • Used to check if an item can go in the fuel slot of a furnace and to return a burn time of 67.
coals coal, charcoal
  • Used in the 'campfire.json' recipe file
dark_oak_logs dark_oak_log, dark_oak_wood, stripped_dark_oak_log, stripped_dark_oak_wood
  • Used in the 'dark_oak_planks.json' advancement and recipe files, and the 'logs.json' item tag file.
doors #wooden_doors, iron_door -
fences #wooden_fences, nether_brick_fence -
fishes cod, cooked_cod, salmon, cooked_salmon, pufferfish, tropical_fish
  • Used by dolphins to pick a player to swim to. The item can be both in the main and offhand.
  • Feeding a dolphin one of these items increases its 'trust' in you.
  • Used by the fish_caught statistic to determine how many fish you've caught.
flowers #small_flowers, #tall_flowers
  • Items in this tag can be used to breed bees.
jungle_logs jungle_log, jungle_wood, stripped_jungle_log, stripped_jungle_wood
  • Used in the 'jungle_planks.json' advancement and recipe files, and the 'logs.json' item tag file.
leaves jungle_leaves, oak_leaves, spruce_leaves, dark_oak_leaves, acacia_leaves, birch_leaves [needs testing]
lectern_books written_book, writable_book
  • Controls what items can be put in a lectern. Items cannot be added to this tag, only removed.
logs #dark_oak_logs, #oak_logs, #acacia_logs, #birch_logs, #jungle_logs, #spruce_logs
  • Used in various checks to either skip or progress with the "punch_tree" tutorial step.
  • Used to check if an item can go in the fuel slot of a furnace and to return a burn time of 300.
  • Used in the 'charcoal.json' advancement and recipe files.
music_discs music_disc_13, music_disc_cat, music_disc_blocks, music_disc_chirp, music_disc_far, music_disc_mall, music_disc_mellohi, music_disc_stal, music_disc_strad, music_disc_ward, music_disc_11, music_disc_wait
oak_logs oak_log, oak_wood, stripped_oak_log, stripped_oak_wood
  • Used in the 'oak_planks.json' advancement and recipe files, and the 'logs.json' item tag file.
planks oak_planks, spruce_planks, birch_planks, jungle_planks, acacia_planks, dark_oak_planks
  • Used as a check for the repair item of wooden tools.
  • Used as a check for the repair item of shields.
  • Used in various checks to either skip or progress with the "craft_planks" tutorial step.
  • Used to check if an item can go in the fuel slot of a furnace and to return a burn time of 300.
  • Used in these 3 advancement files and these 32 recipe files.
rails rail, powered_rail, detector_rail, activator_rail -
sand sand, red_sand
  • Used in the 'glass.json' advancement and recipe files.
saplings oak_sapling, spruce_sapling, birch_sapling, jungle_sapling, acacia_sapling, dark_oak_sapling
  • Used to check if an item can go in the fuel slot of a furnace and to return a burn time of 100.
signs oak_sign, spruce_sign, birch_sign, acacia_sign, jungle_sign, dark_oak_sign
  • Used to check if an item can go in the fuel slot of a furnace and to return a burn time of 200.
slabs stone_slab, smooth_stone_slab, stone_brick_slab, sandstone_slab, acacia_slab, birch_slab, dark_oak_slab, jungle_slab, oak_slab, spruce_slab, purpur_slab, quartz_slab, red_sandstone_slab, brick_slab, cobblestone_slab, nether_brick_slab, petrified_oak_slab, prismarine_slab, prismarine_brick_slab, dark_prismarine_slab, polished_granite_slab, smooth_red_sandstone_slab, mossy_stone_brick_slab, polished_diorite_slab, mossy_cobblestone_slab, end_stone_brick_slab, smooth_sandstone_slab, smooth_quartz_slab, granite_slab, andesite_slab, red_nether_brick_slab, polished_andesite_slab, diorite_slab, cut_sandstone_slab, cut_red_sandstone_slab -
small_flowers dandelion, poppy, blue_orchid, allium, azure_bluet, red_tulip, orange_tulip, white_tulip, pink_tulip, oxeye_daisy, cornflower, lily_of_the_valley, wither_rose
  • Items in this tag can be used to make suspicious stew. Adding items does not allow them to be used in suspicious stew, but removing them disallows them from being used.
  • Used to test what can be fed to brown mooshrooms.
  • Bees follow players holding items in this tag.
spruce_logs spruce_log, spruce_wood, stripped_spruce_log, stripped_spruce_wood
  • Used in the 'spruce_planks.json' advancement and recipe files, and the 'logs.json' item tag file.
stairs oak_stairs, cobblestone_stairs, spruce_stairs, sandstone_stairs, acacia_stairs, jungle_stairs, birch_stairs, dark_oak_stairs, nether_brick_stairs, stone_brick_stairs, brick_stairs, purpur_stairs, quartz_stairs, red_sandstone_stairs, prismarine_brick_stairs, prismarine_stairs, dark_prismarine_stairs, polished_granite_stairs, smooth_red_sandstone_stairs, mossy_stone_brick_stairs, polished_diorite_stairs, mossy_cobblestone_stairs, end_stone_brick_stairs, stone_stairs, smooth_sandstone_stairs, smooth_quartz_stairs, granite_stairs, andesite_stairs, red_nether_brick_stairs, polished_andesite_stairs, diorite_stairs -
stone_bricks stone_bricks, mossy_stone_bricks, cracked_stone_bricks, chiseled_stone_bricks
  • Used in these 3 advancement files and these 2 recipe files.
tall_flowers sunflower, lilac, peony, rose_bush -
trapdoors #wooden_trapdoors, iron_trapdoor -
walls cobblestone_wall, mossy_cobblestone_wall, brick_wall, prismarine_wall, red_sandstone_wall, mossy_stone_brick_wall, granite_wall, stone_brick_wall, nether_brick_wall, andesite_wall, red_nether_brick_wall, sandstone_wall, end_stone_brick_wall, diorite_wall -
wooden_buttons oak_button, spruce_button, birch_button, jungle_button, acacia_button, dark_oak_button
  • Used to check if an item can go in the fuel slot of a furnace and to return a burn time of 100.
  • Used in the 'buttons.json' item tag file.
wooden_doors oak_door, spruce_door, birch_door, jungle_door, acacia_door, dark_oak_door
  • Used to check if an item can go in the fuel slot of a furnace and to return a burn time of 200.
  • Used in the 'doors.json' item tag file.
wooden_fences oak_fence, acacia_fence, dark_oak_fence, spruce_fence, birch_fence, jungle_fence -
wooden_pressure_plates oak_pressure_plate, spruce_pressure_plate, birch_pressure_plate, jungle_pressure_plate, acacia_pressure_plate, dark_oak_pressure_plate
  • Used to check if an item can go in the fuel slot of a furnace and to return a burn time of 300.
wooden_slabs oak_slab, spruce_slab, birch_slab, jungle_slab, acacia_slab, dark_oak_slab
  • Used to check if an item can go in the fuel slot of a furnace and to return a burn time of 150.
  • Used in the 'composter.json' advancement and recipe files.
  • Used in the 'daylight_detector.json' recipe file.
wooden_stairs oak_stairs, spruce_stairs, birch_stairs, jungle_stairs, acacia_stairs, dark_oak_stairs
  • Used to check if an item can go in the fuel slot of a furnace and to return a burn time of 300.
wooden_trapdoors acacia_trapdoor, birch_trapdoor, dark_oak_trapdoor, jungle_trapdoor, oak_trapdoor, spruce_trapdoor
  • Used to check if an item can go in the fuel slot of a furnace and to return a burn time of 300.
wool white_wool, orange_wool, magenta_wool, light_blue_wool, yellow_wool, lime_wool, pink_wool, gray_wool, light_gray_wool, cyan_wool, purple_wool, blue_wool, brown_wool, green_wool, red_wool, black_wool
  • Used to check if an item can go in the fuel slot of a furnace and to return a burn time of 100.
  • Used in the 'painting.json' advancement and recipe files.

History[edit]

Java Edition
1.1317w49aAdded tags for blocks and items.
Added the vanilla block and item tags planks and wool.
17w49bFunction can now be tagged.
Functions tagged in tick now run every tick in the beginning of the tick.
Added the vanilla block tag flower_pots.
Added the vanilla block and item tags buttons, carpets, doors, logs, saplings and stone_bricks.
17w50aAdded the vanilla block and item tags wooden_buttons and wooden_doors.
Updated the vanilla block and item tags buttons and doors to include stone_button and iron_door respectively.
18w01aFunctions tagged in load now runs once after a (re)load.
Added the vanilla block tag anvil.
18w02aAdded the vanilla block tag enderman_holdable.
18w06aAdded the vanilla block and item tags banners, wooden_pressure_plates, wooden_slabs, and wooden_stairs.
Added the vanilla item tag boats.
18w07aAdded the vanilla block tags slabs, stairs and water_hacked.
Added the block and item tags acacia_logs, birch_logs, dark_oak_logs, jungle_logs, oak_logs, and spruce_logs
18w07bAdded the block tag waterlogged.
Added the block and item tags rails and sand.
18w09aAdded vanilla block and item tag coral.
The water_hacked tag now includes chests.
18w10aAdded the block and item tag coral_plants.
The waterlogged block tag now includes coral plants.
18w10cRemoved the block tags water_hacked and waterlogged.
18w19aAdded the block tag leaves, the fluid tags water and lava, and the item tags fishes and leaves.
pre8Added the block tag wall_corals and impermeable.
1.13.118w31aAdded the block tag underwater_bonemeals.
1.1418w43aAdded the block tags bamboo_plantable_on, dirt_like, signs, small_flowers, standing_signs, wall_signs, walls.
Modified block tags enderman_holdable,flower_pots,slabs,stairs.
Added the entity type tag skeletons.
Added the item tags music_discs,signs,small_flowers,walls.
Modified item tags slabs,stairs.
18w44aAdded block and item tag beds
1.14.1Pre-Release 1Functions in a tag are now executed in the order they are listed.
1.1519w34aAdded bee_growables, beehives, crops, flowers, and tall_flowers block tags.
Added flowers and tall_flowers item tags.
19w36aAdded beehive_inhabitors entity tag.
19w41aRemoved dirt_like block tag.
19w42aAdded lectern_books item tag.
19w44aAdded shulker_boxes block tag.
19w45aAdded arrows entity tag.
Pre-Release 2Added portals block tag.

Issues[edit]

Issues relating to "Tag" are maintained on the bug tracker. Report issues there.