Modding:Adding Block Behavior: Difference between revisions

From Vintage Story Wiki
No edit summary
Line 1: Line 1:
__FORCETOC__
__FORCETOC__


= Basic Behavior =
== Introduction ==
 
Block Behaviors are useful when you want different blocks in the same way, as you can attach one or more block behaviors to an arbitrary number of blocks.
Let's create a behavior which makes a block move on right click.


== Setting up ==
== Setting up ==