Modding:Adding Block Behavior: Difference between revisions

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


This class provides several methods we can override. You can find a full list of a methods by hovering with the mouse of "BlockBehavior" and pressing "F12".
This class provides several methods we can override. When you use Visual Studio you can find a full list of a methods by hovering with the mouse of "BlockBehavior" and pressing "F12".


----
----
Line 48: Line 48:
     }
     }
</syntaxhighlight>
</syntaxhighlight>
'''Please Note:''' Due to a bug in version 1.4.2 the OnPlayerInteract() is not being called correctly, it will be fixed in version 1.4.3


----
----
Confirmedusers, Bureaucrats, editor, Administrators
1,778

edits