Skip to content
pdc edited this page Feb 16, 2011 · 2 revisions

Specifies how to make a texture pack; input to the maketexture script.

Recipes can be expressed in three ways:

  • Python code that creates instances of classes in the alleged.minecrqaft.texture module.
  • A kind of abstract syntax of nested dictionaries and lists, processed with a Mixer.
  • The same nested dictionaries and lists turned in to a JSON or YAML file.

The JSON format is useful for exchanging recipes between a hypothetical web app and its backend. I find YAML easier to write when I am creating recipes by hand. Obviously in the completed app it will not often be necessary to write recipes by hand, bit it is early days yet.

Clone this wiki locally