Data component format/map decorations
Minecraft Wiki article. Categories: Top-level_data_pages
📌 Mirrored from Minecraft Wiki
This article is reproduced from Data component format/map decorations on the Minecraft Wiki. Mirrored from revision 2948336. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.
- [NBT Compound / JSON Object] minecraft:map_decorations: Contains key-value pairs of the icons to display on this filled map.
- [NBT Compound / JSON Object] <key>: The key-value pair of a single icon, where the key is an arbitrary unique string identifying the decoration.
- [String] type: The type of the icon. Can be
player,frame,red_marker,blue_marker,target_x,target_point,player_off_map,player_off_limits,mansion,monument,banner_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,red_x,village_desert,village_plains,village_savanna,village_snowy,village_taiga,jungle_temple, orswamp_hut. - [Double] x: The X world coordinate of the decoration.
- [Double] z: The Z world coordinate of the decoration.
- [Float] rotation: The rotation of the icon, ranging from 0.0 to 360.0, rotated clockwise from north in degrees.
- [String] type: The type of the icon. Can be
- [NBT Compound / JSON Object] <key>: The key-value pair of a single icon, where the key is an arbitrary unique string identifying the decoration.
- [NBT Compound / JSON Object] minecraft:map_decorations: Contains key-value pairs of the icons to display on this filled map.
Sources
- Data component format/map decorations — Minecraft Wiki, CC BY-NC-SA 3.0, revision 2948336.