Skip to content

Create A painting pack

Subaraki edited this page Sep 2, 2021 · 9 revisions

PNG Image Files

Make a ResourcePack with the following file structure :

  • assets/paintings/textures/painting

All of your painting images go into the painting folder !
(note that there's two painting folder : one with and one without s. its very important !)

One image is One Painting. keep the image sizes in multiples from 16 !

the JSON file to register your paintings

make a json file with the following structure:

{
	"paintings" : [{
			"name" : "lagune", 
			"x" : 16, 
			"y" : 32
		}, {
			"name" : "flora_lightningstorm_2", 
			"square" : 64
		}]
}

You can use a JSON Parser to check if your file doesn't contain any errors.

  • Every Entry is One Painting
  • "name" is the name of your image file . In the example, we have a picture called lagune.png in our ResourcePack
  • you can either use "x" and "y" to define the shape of the Painting.
  • or you can use "square" to define a square shape for square paintings
Clone this wiki locally