Modding:Block Entity: Difference between revisions

From Vintage Story Wiki
m
typo
(→‎The BlockEntity: Fixed typo (FromTreeAtributes -> FromTreeAttributes) and added missing parameter)
m (typo)
Line 56: Line 56:
</syntaxhighlight>
</syntaxhighlight>


To register the ticking method we can use <code>RegisterGameTickListener</code> in <code>Inizialize</code>
To register the ticking method we can use <code>RegisterGameTickListener</code> in <code>Initialize</code>


<syntaxhighlight lang="c#">
<syntaxhighlight lang="c#">
Confirmedusers, editor
104

edits