Json:block:texture: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 5: Line 5:
all: {base: "block/stone/rock/{rock}" },
all: {base: "block/stone/rock/{rock}" },
}</syntaxhighlight>
}</syntaxhighlight>
Using directions (hay block):
Using directions - the texture codes "verticals", "horizontals", "sides", "westeast" and "northsouth" get expanded into their respective n/e/s/w/u/d faces. Example hay block:
<syntaxhighlight lang='json'>textures: {
<syntaxhighlight lang='json'>textures: {
horizontals: { base: "block/hay/{type}-side" },
horizontals: { base: "block/hay/{type}-side" },
Confirmedusers, Bureaucrats, editor, Administrators
1,778

edits