Table of Contents

Class BlockBehaviorBreakIfFloating

Namespace
Vintagestory.GameContent
Assembly
VSSurvivalMod.dll

Forces the Block to drop as an item when surrounded by air blocks. It will override drops returned by the Block when this happens. Uses the code "BreakIfFloating". This behavior doesn't use any properties.

[DocumentAsJson]
public class BlockBehaviorBreakIfFloating : BlockBehavior
Inheritance
BlockBehaviorBreakIfFloating

Examples

"behaviors": [
	{ "name": "BreakIfFloating" }
]