Structure tag (Java Edition)
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.
- [NBT List / JSON Array] #minecraft:dolphin_located (2 values)
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:mineshaftminecraft: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_coldminecraft: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_portalminecraft:ruined_portal_desertminecraft:ruined_portal_jungleminecraft:ruined_portal_mountainminecraft:ruined_portal_netherminecraft:ruined_portal_oceanminecraft: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:shipwreckminecraft:shipwreck_beached
village
[edit | edit source]Is a type of village.
-
[NBT List / JSON Array] #minecraft:village (5 values)
minecraft:village_desertminecraft:village_plainsminecraft:village_savannaminecraft:village_snowyminecraft:village_taiga
History
[edit | edit source]| Java Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.19 | 22w11a | Added #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 | Pre-release 1 | Added #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 2 | Moved the tags introduced in the previous pre-release to under the experimental datapack. | ||||||
| 1.20.5 Experiment | 24w12a | Added #on_trial_chambers_maps tag. | |||||
| 1.21.5 | 25w07a | Experimental tags are now available without using the "Villager Trade Rebalance" experimental datapack. | |||||