Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Atlas

From SAS Gaming Wiki

Template:Exclusive

Atlases are configuration files in Minecraft:resource packs, that control which textures are included in the atlases.

JSON format

Atlases are stored as Minecraft:JSON files in a resource pack in the assets/<namespace>/atlases folder.

  • Template:Nbt The root tag.
    • Template:Nbt: Contains a list of sprite sources. Every entry runs in during load, in order of definition, adding or removing new textures to the atlas.
      • Template:Nbt Source element.
        • Template:Nbt: The type of the sprite source. Can be one of the following:
          • directory: Lists all files in a directory and its subdirectories, across all namespaces.
          • single: Adds a single file.
          • filter: Removes sprites matching the given pattern (only works for entries already in the list).
          • unstitch: Copies rectangular regions from other images.
          • paletted_permutations: Dynamically generate textures in-memory with color sets.
            • Template:Nbt: A list of namespaced Minecraft:resource locations of base textures. These textures are used to generate variants of them that have been modified by color palettes.
            • Template:Nbt: A value that is used when joining texture and permutation names to produce sprite name. Defaults to Template:Cd.
            • Template:Nbt: A namespaced resource location of a color palette key file. This is used to define the set of key pixel colors to swap out with the color palettes defined.
            • Template:Nbt: A map of permutations from suffix to a namespaced resource location of a color palette file. The suffix is appended to the resource location of the output variant textures, with the string specified in separator separating the suffix and the base texture name. The number of pixels in each color palette must be the same as that of the palette_key defined for this source. Pixels are compared by RGB value. The alpha channel is ignored for key matching, but in the resulting texture the alpha channel is multiplied with the color palette's alpha channel. Pixels that do not match the palette_key are copied over to the resulting texture as-is.

List of atlases

  • armor_trims
  • banner_patterns
  • blocks
  • celestials
  • chests
  • decorated_pot
  • gui
  • items
  • map_decorations
  • paintings
  • particles
  • shield_patterns
  • shulker_boxes
  • signs

History

Template:HistoryTable

Navigation

Template:Navbox resource packs Template:Navbox Java Edition technical

Minecraft:de:Atlasdaten Minecraft:ja:テクスチャ#テクスチャアトラス Minecraft:zh:纹理图集