Modding:Advanced Blocks: Difference between revisions

From Vintage Story Wiki
Line 26: Line 26:
=== The Mod Base ===
=== The Mod Base ===


In order to create a mod your class needs to extend <code>ModBase</code>. This will allow use to register all kinds of stuff, but for now we will stick to our block class example.
In order to create a mod your class needs to extend <code>ModSystem</code>. This will allow use to register all kinds of stuff, but for now we will stick to our block class example.


<syntaxhighlight lang="c#">
<syntaxhighlight lang="c#">
Confirmedusers, Bureaucrats, editor, Administrators
1,778

edits