Modding:Textures: Difference between revisions

From Vintage Story Wiki
Line 100: Line 100:
</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>
"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">
Line 113: Line 113:
</syntaxhighlight>
</syntaxhighlight>


Keep in mind that if you're using the <code>"Pillar"</code> or <code>"HorizontalOrientable"</code> behaviors you'll need directional variants for each (such as updown, northsouth, eastwest etc.) and you'll likely have to organize it using the ByType functionality.
Keep in mind that if you're using the <code>"Pillar"</code> or <code>"HorizontalOrientable"</code> behaviors you'll need directional variants for each (such as updown, northsouth, eastwest etc.) and you'll likely have to organize it using the ByType functionality. A great example of this is the log (Pillar) and altar (HorizontalOrientable) JSONS.  


{{Navbox/modding|Vintage Story}}
{{Navbox/modding|Vintage Story}}
219

edits