Structure tag (Java Edition)

From Minecraft Wiki
Jump to navigation Jump to search

A structure tag is a group of structures. Structure tags are used to control which structures are targeted by various locating gameplay features, such as explorer maps and eye of ender. They can also be used when testing for structure arguments in commands with #<resource location>, which succeeds if the structure matches any of the structures specified in the tag.

List of tags

[edit | edit source]

cats_spawn_as_black

[edit | edit source]

Cats naturally spawn in these structures as the all-black variety. This tag is referenced in the all_black cat variant spawn condition.

  • [NBT List / JSON Array] #minecraft:cats_spawn_as_black (1 values)
    • minecraft:swamp_hut

cats_spawn_in

[edit | edit source]

Cats naturally spawn in these structures.

  • [NBT List / JSON Array] #minecraft:cats_spawn_in (1 values)
    • minecraft:swamp_hut

dolphin_located

[edit | edit source]

Dolphins guide the player toward these structures.

eye_of_ender_located

[edit | edit source]

Eyes of Ender fly toward these structures.

  • [NBT List / JSON Array] #minecraft:eye_of_ender_located (1 values)
    • minecraft:stronghold

mineshaft

[edit | edit source]

Is a type of mineshaft.

  • [NBT List / JSON Array] #minecraft:mineshaft (2 values)
    • minecraft:mineshaft
    • minecraft:mineshaft_mesa

ocean_ruin

[edit | edit source]

Is a type of ocean ruins.

Used in the #dolphin_located tag.

  • [NBT List / JSON Array] #minecraft:ocean_ruin (2 values)
    • minecraft:ocean_ruin_cold
    • minecraft:ocean_ruin_warm

on_desert_village_maps

[edit | edit source]

These structures appear on desert village maps.

  • [NBT List / JSON Array] #minecraft:on_desert_village_maps (1 values)
    • minecraft:village_desert

on_jungle_explorer_maps

[edit | edit source]

These structures appear on jungle explorer maps.

  • [NBT List / JSON Array] #minecraft:on_jungle_explorer_maps (1 values)
    • minecraft:jungle_pyramid

on_ocean_explorer_maps

[edit | edit source]

These structures appear on ocean explorer maps.

  • [NBT List / JSON Array] #minecraft:on_ocean_explorer_maps (1 values)
    • minecraft:monument

on_plains_village_maps

[edit | edit source]

These structures appear on plains village maps.

  • [NBT List / JSON Array] #minecraft:on_plains_village_maps (1 values)
    • minecraft:village_plains

on_savanna_village_maps

[edit | edit source]

These structures appear on savanna village maps.

  • [NBT List / JSON Array] #minecraft:on_savanna_village_maps (1 values)
    • minecraft:village_savanna

on_snowy_village_maps

[edit | edit source]

These structures appear on snowy village maps.

  • [NBT List / JSON Array] #minecraft:on_snowy_village_maps (1 values)
    • minecraft:village_snowy

on_swamp_explorer_maps

[edit | edit source]

These structures appear on swamp explorer maps.

  • [NBT List / JSON Array] #minecraft:on_swamp_explorer_maps (1 values)
    • minecraft:swamp_hut

on_taiga_village_maps

[edit | edit source]

These structures appear on taiga village maps.

  • [NBT List / JSON Array] #minecraft:on_taiga_village_maps (1 values)
    • minecraft:village_taiga

on_treasure_maps

[edit | edit source]

These structures appear on treasure maps.

  • [NBT List / JSON Array] #minecraft:on_treasure_maps (1 values)
    • minecraft:buried_treasure

on_trial_chambers_maps

[edit | edit source]

These structures appear on trial explorer maps.

  • [NBT List / JSON Array] #minecraft:on_trial_chambers_maps (1 values)
    • minecraft:trial_chambers

on_woodland_explorer_maps

[edit | edit source]

These structures appear on woodland explorer maps.

  • [NBT List / JSON Array] #minecraft:on_woodland_explorer_maps (1 values)
    • minecraft:mansion

ruined_portal

[edit | edit source]

Is a type of ruined portal.

  • [NBT List / JSON Array] #minecraft:ruined_portal (7 values)
    • minecraft:ruined_portal
    • minecraft:ruined_portal_desert
    • minecraft:ruined_portal_jungle
    • minecraft:ruined_portal_mountain
    • minecraft:ruined_portal_nether
    • minecraft:ruined_portal_ocean
    • minecraft:ruined_portal_swamp

shipwreck

[edit | edit source]

Is a type of shipwreck.

Used in the #dolphin_located tag.

  • [NBT List / JSON Array] #minecraft:shipwreck (2 values)
    • minecraft:shipwreck
    • minecraft:shipwreck_beached

village

[edit | edit source]

Is a type of village.

  • [NBT List / JSON Array] #minecraft:village (5 values)
    • minecraft:village_desert
    • minecraft:village_plains
    • minecraft:village_savanna
    • minecraft:village_snowy
    • minecraft:village_taiga

History

[edit | edit source]
Java Edition
1.1922w11aAdded #cats_spawn_as_black, #cats_spawn_in, #dolphin_located, #eye_of_ender_located, #mineshaft, #ocean_ruin, #on_ocean_explorer_maps, #on_treasure_maps, #on_woodland_explorer_maps, #ruined_portal, #shipwreck, and #village tags.
1.20.2
Experiment
Villager Trade Rebalance
Pre-release 1Added #on_desert_village_maps, #on_jungle_explorer_maps, #on_plains_village_maps, #on_savanna_village_maps, #on_snowy_village_maps, #on_swamp_explorer_maps, and #on_taiga_village_maps tags.
Pre-release 2Moved the tags introduced in the previous pre-release to under the experimental datapack.
1.20.5
Experiment
Update 1.21
24w12aAdded #on_trial_chambers_maps tag.
1.21.525w07aExperimental tags are now available without using the "Villager Trade Rebalance" experimental datapack.
[edit | edit source]