Modding:Adding Block Behavior: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
(One intermediate revision by the same user not shown)
Line 65: Line 65:


<syntaxhighlight lang="c#">
<syntaxhighlight lang="c#">
     public class MovingBlocks : ModBase
     public class MovingBlocks : ModSystem
     {
     {


Line 176: Line 176:
The block will be pushed two blocks instead of one and the player can pull it by sneaking while right clicking.
The block will be pushed two blocks instead of one and the player can pull it by sneaking while right clicking.


You can download the complete mod [https://wiki.vintagestory.at/images/7/72/AdvancedMoving.zip here].
* for VS 1.9: [https://wiki.vintagestory.at/images/7/7b/Advancedmoving_v1.0.0.zip AdvancedMoving_v1.0.0.zip]
* for VS 1.6: [https://wiki.vintagestory.at/images/7/72/AdvancedMoving.zip AdvancedMoving.zip]




Confirmedusers, editor, Administrators
886

edits