Class BlockBehaviorSnowballable
- Namespace
- Vintagestory.GameContent
- Assembly
- VSSurvivalMod.dll
Allows a block to have snowballs taken from it. Many blocks automatically receive this behavior if they have a snow layer or the SnowballableDecrementedBlockCode attribute. Uses the code 'Snowballable'.
[DocumentAsJson]
[AddDocumentationProperty("SnowballableDecrementedBlockCode", "When the block is harvested for snowballs, what block should it be replaced with?", "System.String", "Optional", "None", true)]
public class BlockBehaviorSnowballable : BlockBehavior
- Inheritance
-
BlockBehaviorSnowballable
Properties
SnowballableDecrementedBlockCode (Optional) (Default: None)
When the block is harvested for snowballs, what block should it be replaced with?