]> git.lizzy.rs Git - minetest.git/blob - doc/texture_overrides.txt
Mapgen: Various fixes and improvements
[minetest.git] / doc / texture_overrides.txt
1 Texture Overrides
2 =================
3
4 You can override the textures of a node from a texture pack using
5 texture overrides. To do this, create a file in a texture pack
6 called override.txt
7
8 Basic Format
9 ------------
10
11 Each line in an override.txt file is a rule. It consists of
12
13         nodename face-selector texture
14
15 For example,
16
17         default:dirt_with_grass sides default_stone.png
18
19 You can use ^ operators as usual:
20
21         default:dirt_with_grass sides default_stone.png^[brighten
22
23 Face Selectors
24 --------------
25
26 | face-selector | behavior                                          |
27 |---------------|---------------------------------------------------|
28 | left          | x-                                                |
29 | right         | x+                                                |
30 | front         | z-                                                |
31 | back          | z+                                                |
32 | top           | y+                                                |
33 | bottom        | y-                                                |
34 | sides         | x-, x+, z-, z+                                    |
35 | all           | All faces. You can also use '*' instead of 'all'. |