Translations:Modding:Adding Block Behavior/59/en
From Vintage Story Wiki
- Calculate the new position to move the block to, based on the block face the player is looking at.
- Check if the block can be placed at this new position.
- Remove the block at the old position.
- Place the same type of block at the new position.
- Skip the default logic that would otherwise place whatever item is held at the old position.