Modding:Basic Block: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 17: Line 17:
Now we need to create the following folders inside our workspace<code>assets/mygoldblock/textures/blocks/</code>. Rename the texture to <code>mygoldtexture.png</code> and paste it into the <code>texture</code> folder.
Now we need to create the following folders inside our workspace<code>assets/mygoldblock/textures/blocks/</code>. Rename the texture to <code>mygoldtexture.png</code> and paste it into the <code>texture</code> folder.


== The Block file ==
== The Block File ==


The next thing we need is a json file which will determine the properties of the block. For now we keep it simple and only cover simple properties, but there are a lot of other things you can do with. Here is a full list of all [[Block Json Properties]]. So create a new json file in your editor (we recommend to use an editor with syntax highlighting, such as [https://notepad-plus-plus.org/ Notepad++] or Visual Studio) named <code>mygoldblock.json</code>.
The next thing we need is a json file which will determine the properties of the block. For now we keep it simple and only cover simple properties, but there are a lot of other things you can do with. Here is a full list of all [[Block Json Properties]]. So create a new json file in your editor (we recommend to use an editor with syntax highlighting, such as [https://notepad-plus-plus.org/ Notepad++] or Visual Studio) named <code>mygoldblock.json</code>.
Confirmedusers, editor, Administrators
886

edits