Translations:Modding:Adding Block Behavior/15/en

From Vintage Story Wiki

// Notify the game engine other block behaviors that we handled the players interaction with the block.

       // If we would not set the handling field the player would still be able to place blocks if he has them in hands.
       handling = EnumHandling.PreventDefault;
       return true;
   }

</syntaxhighlight>