Modding:Basic Block: Difference between revisions

From Vintage Story Wiki
Line 19: Line 19:
== 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]].
 
Now you need to 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>.


<syntaxhighlight lang="json">
<syntaxhighlight lang="json">
Confirmedusers, editor, Administrators
886

edits