Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

Palettes

SBPrime edited this page Feb 2, 2014 · 1 revision

Palettes

Since version 1.0 RC3 MCPainter supports user defined palettes. Each palette is defined in a separate YML file. The palette files need to by copied into /plugins/MCPainter/palette/ folder.

Each palette file consists of two sections: description and blocks definition.

blocks

This section defines all the blocks that the plugin can use for drawing images.

Line format: <BlockName|BlockId>[:<BlockData>]-<Texture_File>[-<H>,<S>][-BSI]

  • <BlockName|BlockId> - the entry block name or id. You need to specify either the block name or id.
  • <BlockData> - additional block data (optional)
  • <Texture_File> - this is used to calculate to the main colour of the block
  • <H>,<S> - Optional parameters //H,S// are used for blocks that are grayscaled (grass and leaves). This additional parameter allows you to specify the base color to use when calculating block mean color. The color is in HSV format, H stands for Hue (0-360), S stands for Saturation (0-100), the Light is taken from the texture.
  • BSI - optional parameter used to specify on with operation this block can by used.
  • B - Use block for drawing blocks
  • S - Block used for drawing statues
  • I - Use block for drawing images

Sample

name: Sample
blocks:
  - WOOL:0-VANILLA:assets/minecraft/textures/blocks/wool_colored_white.png-bsi
  - WOOL:1-VANILLA:assets/minecraft/textures/blocks/wool_colored_orange.png-bsi
  - 159:0-VANILLA:assets/minecraft/textures/blocks/hardened_clay_stained_white.png-bsi
  - 159:1-VANILLA:assets/minecraft/textures/blocks/hardened_clay_stained_orange.png-bsi
  - LEAVES:0-VANILLA:assets/minecraft/textures/blocks/leaves_oak.png-84,75-bsi
  - LEAVES:1-VANILLA:assets/minecraft/textures/blocks/leaves_spruce.png-120,38-bsi

Clone this wiki locally