Modding:Basic Block: Difference between revisions

From Vintage Story Wiki
Line 51: Line 51:
* '''sounds''': The sounds to be played when placing/breaking or walking on the block. The prefix <code>game</code> has to be added, since our block has the domain <code>mygoldblock</code>. Otherwise it would try to find those sounds inside our domain.
* '''sounds''': The sounds to be played when placing/breaking or walking on the block. The prefix <code>game</code> has to be added, since our block has the domain <code>mygoldblock</code>. Otherwise it would try to find those sounds inside our domain.


Now save the file in your workspace folder inside <code>assets/mygoldblock/blocktypes/</code> and name it <code>mygoldblock.json</code>.
Now save the file in your workspace inside <code>assets/mygoldblock/blocktypes/</code> and name it <code>mygoldblock.json</code>.


== Naming the Block ==
== Naming the Block ==
Confirmedusers, editor, Administrators
886

edits