Modding:Textures: Difference between revisions

From Vintage Story Wiki
Line 91: Line 91:


== Texturing a Block ==
== Texturing a Block ==
=== Regular Block ===


Blocks are textured a little differently since they default to generic "cube" shape. This means they don't use the singular "texture" method, and instead always use a version of the plural "textures":
Blocks are textured a little differently since they default to generic "cube" shape. This means they don't use the singular "texture" method, and instead always use a version of the plural "textures":
Line 100: Line 102:
</syntaxhighlight>
</syntaxhighlight>


"all" will give every side the same texture, but we can easily customize each side, especially if we want to use some block behaviors like <code>"Pillar"</code> or <code>"HorizontalOrientable"</code>:
=== Texturing Other Block Faces ===
 
When assigning textures "all" will give every side the same texture, but we can easily customize each side, especially if we want to use some block behaviors like <code>"Pillar"</code> or <code>"HorizontalOrientable"</code>:


<syntaxhighlight lang="json">
<syntaxhighlight lang="json">
219

edits