Translations:Modding:Advanced Items/68/en
From Vintage Story Wiki
We need to be aware of the facing (which side the player is focusing) and if the player is in creative or survival mode (whether items should be dropped or not). Before we are going to override OnBlockBrokenWith
we should create a method which destroys all blocks between two block positions (min & max). It should also only drop items if the player is in survival mode: