Modding:Adding Block Behavior: Difference between revisions

From Vintage Story Wiki
Line 75: Line 75:
</syntaxhighlight>
</syntaxhighlight>


Now all you need to do is to put the *.cs file in the zip file as well and you are ready to test/ distribute your mod.
== Distribution ==


You can download the example mod [http://wiki.vintagestory.at/images/c/cb/Moving.zip here].
In order to finish everything, open the modtools and type in <code>pack <your mod id></code>. Now you can take the zip file and share it with other people. You can download the example mod [http://wiki.vintagestory.at/images/c/cb/Moving.zip here].


== Testing ==
== Testing ==
Confirmedusers, editor, Administrators
886

edits